Issue Bug Closed

#21789Rewritten queries are logged as parseError in DBAL Debug BE module

Xavier Perseguers 12/03/09, 14:36 updated 09/10/13, 09:04

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)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.