diff options
author | Derick Rethans <derick@php.net> | 2002-11-13 08:54:34 +0000 |
---|---|---|
committer | Derick Rethans <derick@php.net> | 2002-11-13 08:54:34 +0000 |
commit | 801c6989920047da1d510160dfec1f4c9287dde6 (patch) | |
tree | f015f2208df5f21cd0ab1e1700c8c28183073385 /ext/mysql/php_mysql.c | |
parent | 2016c0cc0a5f530f91fcd4e907eafbc1f524a13c (diff) | |
download | php-git-801c6989920047da1d510160dfec1f4c9287dde6.tar.gz |
- Reset globals for each request
Diffstat (limited to 'ext/mysql/php_mysql.c')
-rw-r--r-- | ext/mysql/php_mysql.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/mysql/php_mysql.c b/ext/mysql/php_mysql.c index 051ede3ca2..ad84ece14f 100644 --- a/ext/mysql/php_mysql.c +++ b/ext/mysql/php_mysql.c @@ -435,7 +435,9 @@ PHP_RINIT_FUNCTION(mysql) MySG(num_links) = MySG(num_persistent); /* Reset connect error/errno on every request */ MySG(connect_error) = NULL; - MySG(connect_errno)=0; + MySG(connect_errno) =0; + MySG(trace_mode) = 0; + MySG(result_allocated) = 0; return SUCCESS; } /* }}} */ |