From: Wez Furlong Date: Sun, 13 Feb 2005 06:41:46 +0000 (+0000) Subject: zts X-Git-Tag: RELEASE_0_2_3~4 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f2d2da300f09a3c24601e40a193480f6526d888b;p=php zts --- diff --git a/ext/pdo_mysql/mysql_driver.c b/ext/pdo_mysql/mysql_driver.c index 37349c8c9c..7311fd8a00 100755 --- a/ext/pdo_mysql/mysql_driver.c +++ b/ext/pdo_mysql/mysql_driver.c @@ -213,7 +213,7 @@ static int pdo_mysql_set_attribute(pdo_dbh_t *dbh, long attr, zval *val TSRMLS_D /* ignore if the new value equals the old one */ if (dbh->auto_commit ^ Z_BVAL_P(val)) { dbh->auto_commit = Z_BVAL_P(val); - mysql_handle_autocommit(dbh); + mysql_handle_autocommit(dbh TSRMLS_CC); } return 1; @@ -320,7 +320,7 @@ static int pdo_mysql_handle_factory(pdo_dbh_t *dbh, zval *driver_options TSRMLS_ } } - mysql_handle_autocommit(dbh); + mysql_handle_autocommit(dbh TSRMLS_CC); #ifndef PHP_WIN32 if (vars[2].optval && !strcmp("localhost", vars[2].optval)) {