Issue Bug Closed

#55648Line breaks in string in compile* methods of the SqlParser

Stefano Kowalke 02/04/14, 10:21 updated 10/23/17, 21:42

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.

Reviews 3