summaryrefslogtreecommitdiff
path: root/ext/pdo_pgsql/php_pdo_pgsql_int.h
diff options
context:
space:
mode:
authorMatteo Beccati <mbeccati@php.net>2009-11-04 19:32:27 +0000
committerMatteo Beccati <mbeccati@php.net>2009-11-04 19:32:27 +0000
commitfa67c860e0ef6bb2a1dd556c9c3e33ad105143bc (patch)
tree1588686467c8507c518331a12e6ceae28b7c418d /ext/pdo_pgsql/php_pdo_pgsql_int.h
parente6f4503f29f3492a3b2c59886371936c066c37d3 (diff)
downloadphp-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.h1
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 {