Actions
Bug #22061
closedCannot parse INSERT when VALUES has no space before left parenthesis
Status:
Closed
Priority:
Should have
Assignee:
Category:
Database API (Doctrine DBAL)
Target version:
-
Start date:
2010-02-05
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
When trying to import static data of EXT:static_info_tables, the operation fails with
ERROR: Query could not be parsed: "SQL engine parse ERROR: No ( parenthesis starting the list: near "VALUES;"
Full INSERT statement looks like this:
INSERT INTO static_country_zones VALUES;
Problem is that it misses a blank space between token VALUES and left parenthesis. This bugs the SQL parser.
"Bug" has been introduced in static_info_tables recently:
This is probably due to a manual edit of the static data instead of dumping the list with mysqldump.
(issue imported from #M13430)
Files
Updated by Xavier Perseguers almost 15 years ago
Committed to:
- Trunk (rev. 6855)
- 4-3 (rev. 6856)
Tests committed to DBAL:
- Trunk (rev. 29762)
- 1-0 (rev. 29763)
Actions