php-src/ext/pdo_firebird/tests
Simonov Denis 17a789e27c Fix #64937: Firebird PDO preprocessing sql
This patch fixes some problems with preprocessing SQL queries.

* The new algorithm takes into account single-line and multi-line
  comments and ignores the ":" and "?" Parameter markers in them.

* The algorithm allows the EXECUTE BLOCK statement to be processed
  correctly. For this statement, it is necessary to search for
  parameter markers between EXECUTE BLOCK and AS, the rest should be
  left as is.

The SQL preprocessing code has been ported from Firebird to handle
EXECUTE STATEMENT.

Closes GH-4920.
2020-09-25 00:07:57 +02:00
..
bug_47415.phpt Fix PDO_Firebird tests which assume ERRMODE_SILENT 2020-07-12 18:15:56 +02:00
bug_48877.phpt Fix PDO_Firebird tests which assume ERRMODE_SILENT 2020-07-12 18:15:56 +02:00
bug_53280.phpt Fix PDO_Firebird tests which assume ERRMODE_SILENT 2020-07-12 18:15:56 +02:00
bug_62024.phpt PDO_Firebird test update, round 2 2019-05-02 23:19:27 +03:00
bug_64037.phpt PDO_Firebird test update, round 2 2019-05-02 23:19:27 +03:00
bug_72583.phpt PDO_Firebird test update, round 2 2019-05-02 23:19:27 +03:00
bug_72931.phpt PDO_Firebird test update, round 2 2019-05-02 23:19:27 +03:00
bug_73087.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
bug_74462.phpt PDO_Firebird test update, round 2 2019-05-02 23:19:27 +03:00
bug_76488.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
bug_77863.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
bug_aaa.phpt PDO_Firebird test update, round 2 2019-05-02 23:19:27 +03:00
common.phpt Re-add common PDO tests to Firebird test suite 2019-05-04 14:24:15 +02:00
connect.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
ddl.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
dialect_1.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
execute.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
execute_block.phpt Fix #64937: Firebird PDO preprocessing sql 2020-09-25 00:07:57 +02:00
ignore_parammarks.phpt Fix #64937: Firebird PDO preprocessing sql 2020-09-25 00:07:57 +02:00
rowCount.phpt Fix PDO_Firebird tests which assume ERRMODE_SILENT 2020-07-12 18:15:56 +02:00
skipif.inc Re-add common PDO tests to Firebird test suite 2019-05-04 14:24:15 +02:00
testdb.inc Reindent phpt files 2020-02-03 22:52:20 +01:00