History log of /PHP-8.1/ext/pdo_firebird/tests/ignore_parammarks.phpt (Results 1 – 2 of 2)
Revision Date Author Comments
# b5a14e6c 11-Jun-2021 Nikita Popov

Port skipif.inc files to EXTENSIONS


# 17a789e2 18-Dec-2019 Simonov Denis

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
com

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.

show more ...