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:18:01 +0000
committerIlia Alshanetsky <iliaa@php.net>2006-03-05 17:18:01 +0000
commit41de805a9d43ed9a6dbe351e5ed1aa1f52cb9641 (patch)
treeadee4d5827ed5522ebb5f053b01aad5ba757b1b4 /ext/pdo_mysql/php_pdo_mysql_int.h
parente43a77d84c28bf678c8e548b980b4b23dd21bdd1 (diff)
downloadphp-git-41de805a9d43ed9a6dbe351e5ed1aa1f52cb9641.tar.gz
MFH:
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