| Summary: | SQL syntax error inserting new record into empty table | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | Terrence Enger <lo_bugs> |
| Component: | Base | Assignee: | Not Assigned <libreoffice-bugs> |
| Status: | CLOSED FIXED | ||
| Severity: | normal | CC: | lionel |
| Priority: | medium | ||
| Version: | 4.1.0.0.alpha0+ Master | ||
| Hardware: | Other | ||
| OS: | Linux (All) | ||
| Whiteboard: | target:4.1.0 | ||
| Crash report or crash signature: | Regression By: | ||
| Attachments: | odbc trace | ||
|
Description
Terrence Enger
2013-02-21 03:17:20 UTC
On pc Debian x86-64 with master sources updated today (commit 81e065b0ec2764ef44116512631d2ae8260df47a), I reproduced the problem. Again logs like these: warn:connectivity.parse:22224:1:workdir/unxlngx6/YaccTarget/connectivity/source/parse/sqlbison.cxx:9272: connectivity::OSQLParser::RuleIDToRule cannot reverse-lookup rule. Reverse mapping incomplete? _nRule='367' yytname[_nRule]='opt_all_distinct' warn:connectivity.parse:22224:1:workdir/unxlngx6/YaccTarget/connectivity/source/parse/sqlbison.cxx:9272: connectivity::OSQLParser::RuleIDToRule cannot reverse-lookup rule. Reverse mapping incomplete? _nRule='398' yytname[_nRule]='opt_group_by_clause' warn:connectivity.parse:22224:1:workdir/unxlngx6/YaccTarget/connectivity/source/parse/sqlbison.cxx:9272: connectivity::OSQLParser::RuleIDToRule cannot reverse-lookup rule. Reverse mapping incomplete? _nRule='400' yytname[_nRule]='opt_having_clause' warn:connectivity.parse:22224:1:workdir/unxlngx6/YaccTarget/connectivity/source/parse/sqlbison.cxx:9272: connectivity::OSQLParser::RuleIDToRule cannot reverse-lookup rule. Reverse mapping incomplete? _nRule='489' yytname[_nRule]='opt_window_clause' Lionel: Just for my information, I noticed http://cgit.freedesktop.org/libreoffice/core/commit/?id=09109f3dcde24fcd13426ce5b77bb40032f58947. So do these logs show multiple problems or should each case be analyzed (because some may be false positive or just warnings)? (Terrence: Your local master sources are not very updated "2012-02-17" :-p) (In reply to comment #1) > ... > Again logs like these: For this warning I have created bug 61298 '"cannot reverse-lookup rule. Reverse mapping incomplete?"', with a comment referencing this bug and a couple of others where you have mentioned the warning. > ... > > (Terrence: Your local master sources are not very updated "2012-02-17" :-p) Whoops, I shoud have typed 2013. My time off the internet just *felt* like it was a year <grin />. Lionel Elie Mamane committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=a2db9096e2674bfb1cb125bf6036c990f35579e7 fdo#61203 initialise m_aComposedTableName *before* trying to use it The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback. Thank you, Lionel. The problem is fixed for me with recent master. Error inserting the new record Unexpected token: ( in statement [INSERT INTO ("ID") VALUES ( https://steamdb.site )] Expected program action is to add the record to the table an to move the caret to the second row in preparation for the entry of another record.
|