Project

General

Profile

Actions

Bug #55648

closed

Line breaks in string in compile* methods of the SqlParser

Added by Stefano Kowalke almost 11 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Must have
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.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #61449: Fix unit tests for DBAL sqlparser fixClosedMarkus Klein2014-09-08

Actions
Actions

Also available in: Atom PDF