php-src/ext/pdo_firebird
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
..
tests Fix #64937: Firebird PDO preprocessing sql 2020-09-25 00:07:57 +02:00
config.m4 Add AS_HELP_STRING to *nix build configure options 2019-03-07 20:36:59 +01:00
config.w32 Trim trailing whitespace in source code files 2018-10-13 14:17:28 +02:00
CREDITS Cleanup $ is not needed for git 2014-04-10 17:42:32 +03:00
firebird_driver.c Fix #64937: Firebird PDO preprocessing sql 2020-09-25 00:07:57 +02:00
firebird_statement.c Merge branch 'PHP-7.4' 2020-02-03 13:42:08 +01:00
pdo_firebird.c Get rid of empty function entries 2020-08-01 10:07:05 +02:00
php_pdo_firebird_int.h Fix PDO_Firebird numeric to string conversion on Windows 2020-07-12 23:52:22 +02:00
php_pdo_firebird.h Remove mention of PHP major version in Copyright headers 2019-09-25 14:51:43 +02:00