Project

General

Profile

Actions

Bug #21789

closed

Rewritten queries are logged as parseError in DBAL Debug BE module

Added by Xavier Perseguers almost 15 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Could have
Assignee:
-
Category:
Database API (Doctrine DBAL)
Target version:
-
Start date:
2009-12-03
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.3
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

Whenever a query is rewritten, e.g., which LIKE statements rewritten as dbms_lob.instr(column, 'text', 1,1 ) > 0 when using Oracle or more recently with SQL hints (see #21780) being dropped are logged as errors.

This appears when activating logs. Each query even without exception is logged but method debug_parseSQLpart from t3lib_sqlparser (in Core) is used and returns an error as the input query is not the same as the "output" or generated one. This is obvious that when rewriting queries, input and output won't match.

(issue imported from #M12910)

Actions

Also available in: Atom PDF