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
Actions