summaryrefslogtreecommitdiff
path: root/ext/pdo_mysql/php_pdo_mysql_int.h
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2005-06-24 19:45:59 +0000
committerIlia Alshanetsky <iliaa@php.net>2005-06-24 19:45:59 +0000
commit348c0cddae153a7875973a3f673eb01710202e45 (patch)
tree65cfab508cf8f6bdba410d62b4dc40602a193564 /ext/pdo_mysql/php_pdo_mysql_int.h
parente956cc30d784d34fc4a1dc6fdc7d719d63427ed4 (diff)
downloadphp-git-348c0cddae153a7875973a3f673eb01710202e45.tar.gz
Added PDO_MYSQL_ATTR_USE_BUFFERED_QUERY parameter for pdo_mysql, to toggle
usage of buffered queries.
Diffstat (limited to 'ext/pdo_mysql/php_pdo_mysql_int.h')
-rwxr-xr-xext/pdo_mysql/php_pdo_mysql_int.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/pdo_mysql/php_pdo_mysql_int.h b/ext/pdo_mysql/php_pdo_mysql_int.h
index 4dc5739793..9a2c473a13 100755
--- a/ext/pdo_mysql/php_pdo_mysql_int.h
+++ b/ext/pdo_mysql/php_pdo_mysql_int.h
@@ -35,6 +35,7 @@ typedef struct {
MYSQL *server;
unsigned attached:1;
+ unsigned buffered:1;
unsigned _reserved:31;
pdo_mysql_error_info einfo;
@@ -67,4 +68,8 @@ extern int _pdo_mysql_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, const char *file,
#define pdo_mysql_error_stmt(s) _pdo_mysql_error(stmt->dbh, stmt, __FILE__, __LINE__ TSRMLS_CC)
extern struct pdo_stmt_methods mysql_stmt_methods;
+
+enum {
+ PDO_MYSQL_ATTR_USE_BUFFERED_QUERY = PDO_ATTR_DRIVER_SPECIFIC,
+};
#endif