Actions
Bug #55648
closedLine breaks in string in compile* methods of the SqlParser
Status:
Closed
Priority:
Must have
Assignee:
Category:
Database API (Doctrine DBAL)
Target version:
Start date:
2014-02-04
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.4
Tags:
Complexity:
easy
Is Regression:
No
Sprint Focus:
Description
The compile methods of inside SqlParser generates SQL queries out of an array. There are line breaks inside strings which leads to queries like:
SELECT * \n\t\t\t\tFROM table_name\n\t\t\t\tWHERE
This breaks the test for SqlParser of ext:dbal when it calls debug_testSQL() where the given query is combined with the compiled query -> debug_testSQL() dies when they are not the same.
Actions