diff options
author | Matteo Beccati <mbeccati@php.net> | 2009-10-07 17:40:16 +0000 |
---|---|---|
committer | Matteo Beccati <mbeccati@php.net> | 2009-10-07 17:40:16 +0000 |
commit | 9ee8dd90a37bde92c387e473fa756c896f8d941e (patch) | |
tree | 8732125324189495aa0fd842f8fc8fc0d2e6a656 /ext/pdo_pgsql/php_pdo_pgsql_int.h | |
parent | 309fced64dacb409053684ab1eb837bb9bb758c4 (diff) | |
download | php-git-9ee8dd90a37bde92c387e473fa756c896f8d941e.tar.gz |
- Fixed bug #48764 (PDO_pgsql::query always uses implicit prepared statements if v3 proto available)
# original patch by Mark Kirkwood
Diffstat (limited to 'ext/pdo_pgsql/php_pdo_pgsql_int.h')
-rw-r--r-- | ext/pdo_pgsql/php_pdo_pgsql_int.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ext/pdo_pgsql/php_pdo_pgsql_int.h b/ext/pdo_pgsql/php_pdo_pgsql_int.h index e73320661c..50b478f340 100644 --- a/ext/pdo_pgsql/php_pdo_pgsql_int.h +++ b/ext/pdo_pgsql/php_pdo_pgsql_int.h @@ -43,6 +43,13 @@ typedef struct { unsigned _reserved:31; pdo_pgsql_error_info einfo; Oid pgoid; +#if HAVE_PQPREPARE + /* The following two variables have the same purpose. Unfortunately we need + to keep track of two different attributes having the same effect. + It might be worth to deprecate the driver specific one soon. */ + int emulate_prepares; + int disable_native_prepares; +#endif } pdo_pgsql_db_handle; typedef struct { |