diff options
author | Matteo Beccati <mbeccati@php.net> | 2009-11-04 19:32:27 +0000 |
---|---|---|
committer | Matteo Beccati <mbeccati@php.net> | 2009-11-04 19:32:27 +0000 |
commit | fa67c860e0ef6bb2a1dd556c9c3e33ad105143bc (patch) | |
tree | 1588686467c8507c518331a12e6ceae28b7c418d /ext/pdo_pgsql/php_pdo_pgsql_int.h | |
parent | e6f4503f29f3492a3b2c59886371936c066c37d3 (diff) | |
download | php-git-fa67c860e0ef6bb2a1dd556c9c3e33ad105143bc.tar.gz |
- Properly fixed bug #49985 (pdo_pgsql prepare() re-use previous aborted transaction).
# Removed usage of the memory address when generating prepared statemend names
# as uniqueness can't be enforced. Used a statment counter instead.
Diffstat (limited to 'ext/pdo_pgsql/php_pdo_pgsql_int.h')
-rw-r--r-- | ext/pdo_pgsql/php_pdo_pgsql_int.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/pdo_pgsql/php_pdo_pgsql_int.h b/ext/pdo_pgsql/php_pdo_pgsql_int.h index 50b478f340..71b6909138 100644 --- a/ext/pdo_pgsql/php_pdo_pgsql_int.h +++ b/ext/pdo_pgsql/php_pdo_pgsql_int.h @@ -50,6 +50,7 @@ typedef struct { int emulate_prepares; int disable_native_prepares; #endif + unsigned int stmt_counter; } pdo_pgsql_db_handle; typedef struct { |