summaryrefslogtreecommitdiff
path: root/ext/pdo_mysql/mysql_driver.c
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2006-12-08 19:50:40 +0000
committerIlia Alshanetsky <iliaa@php.net>2006-12-08 19:50:40 +0000
commitb7b0f4d988e0ec6453b42e213e50ac7b86968f6d (patch)
treec7e82620b706876461a0b724c362ec37fbeb52d4 /ext/pdo_mysql/mysql_driver.c
parent4991dba418e4ce92a2d25f832b23b6d07e8ed584 (diff)
downloadphp-git-b7b0f4d988e0ec6453b42e213e50ac7b86968f6d.tar.gz
Fixed bug #39759 (Can't use stored procedures fetching multiple result
sets in pdo_mysql).
Diffstat (limited to 'ext/pdo_mysql/mysql_driver.c')
-rwxr-xr-xext/pdo_mysql/mysql_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pdo_mysql/mysql_driver.c b/ext/pdo_mysql/mysql_driver.c
index 01a9b19fa6..53a9fb76e3 100755
--- a/ext/pdo_mysql/mysql_driver.c
+++ b/ext/pdo_mysql/mysql_driver.c
@@ -471,7 +471,7 @@ static int pdo_mysql_handle_factory(pdo_dbh_t *dbh, zval *driver_options TSRMLS_
dbh->driver_data = H;
H->max_buffer_size = 1024*1024;
- H->emulate_prepare = 1;
+ H->buffered = H->emulate_prepare = 1;
/* handle MySQL options */
if (driver_options) {