From 41de805a9d43ed9a6dbe351e5ed1aa1f52cb9641 Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Sun, 5 Mar 2006 17:18:01 +0000 Subject: 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. --- ext/pdo_mysql/php_pdo_mysql_int.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ext/pdo_mysql/php_pdo_mysql_int.h') 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 -- cgit v1.2.1