johannes Tue Feb 12 20:19:21 2008 UTC
Modified files: (Branch: PHP_5_3)
/php-src/ext/mysqli mysqli.c
Log:
MFH: - Fix build with TSRM and mysqlnd
http://cvs.php.net/viewvc.cgi/php-src/ext/mysqli/mysqli.c?r1=1.72.2.16.2.17.2.14&r2=1.72.2.16.2.17.2.15&diff_format=u
Index: php-src/ext/mysqli/mysqli.c
diff -u php-src/ext/mysqli/mysqli.c:1.72.2.16.2.17.2.14
php-src/ext/mysqli/mysqli.c:1.72.2.16.2.17.2.15
--- php-src/ext/mysqli/mysqli.c:1.72.2.16.2.17.2.14 Tue Feb 12 10:54:54 2008
+++ php-src/ext/mysqli/mysqli.c Tue Feb 12 20:19:21 2008
@@ -15,7 +15,7 @@
| Author: Georg Richter <[EMAIL PROTECTED]> |
+----------------------------------------------------------------------+
- $Id: mysqli.c,v 1.72.2.16.2.17.2.14 2008/02/12 10:54:54 tony2001 Exp $
+ $Id: mysqli.c,v 1.72.2.16.2.17.2.15 2008/02/12 20:19:21 johannes Exp $
*/
#ifdef HAVE_CONFIG_H
@@ -73,6 +73,8 @@
{
MYSQL *mysql = (MYSQL *) data;
#if defined(HAVE_MYSQLND)
+ TSRMLS_FETCH();
+
mysqlnd_end_psession(mysql);
#endif
mysqli_close(mysql, MYSQLI_CLOSE_IMPLICIT);
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php