summaryrefslogtreecommitdiff
path: root/ext/pdo_mysql/php_pdo_mysql_int.h
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2006-03-05 17:17:04 +0000
committerIlia Alshanetsky <iliaa@php.net>2006-03-05 17:17:04 +0000
commitd9b2a3372e7d7955d8ea1ef45ef09ce69ee00c32 (patch)
treec20585c7eec81ddbebd7552975e2d3aa4466dcd9 /ext/pdo_mysql/php_pdo_mysql_int.h
parent1fad64d6dcda7b977fa2f009bb16d2589e9d0409 (diff)
downloadphp-git-d9b2a3372e7d7955d8ea1ef45ef09ce69ee00c32.tar.gz
Fixed bug #36572 (Added PDO::MYSQL_ATTR_DIRECT_QUERY constant that show be
set when executing internal queries such as "show master status" via MySQL). Added missing constant for MAX_BUFFER_SIZE.
Diffstat (limited to 'ext/pdo_mysql/php_pdo_mysql_int.h')
-rwxr-xr-xext/pdo_mysql/php_pdo_mysql_int.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/pdo_mysql/php_pdo_mysql_int.h b/ext/pdo_mysql/php_pdo_mysql_int.h
index 85af4731dd..0ae9486c0a 100755
--- a/ext/pdo_mysql/php_pdo_mysql_int.h
+++ b/ext/pdo_mysql/php_pdo_mysql_int.h
@@ -37,6 +37,7 @@ typedef struct {
unsigned attached:1;
unsigned buffered:1;
+ unsigned emulate_prepare:1;
unsigned _reserved:31;
unsigned long max_buffer_size;
@@ -84,5 +85,6 @@ enum {
PDO_MYSQL_ATTR_READ_DEFAULT_FILE,
PDO_MYSQL_ATTR_READ_DEFAULT_GROUP,
PDO_MYSQL_ATTR_MAX_BUFFER_SIZE,
+ PDO_MYSQL_ATTR_DIRECT_QUERY,
};
#endif