svn: /php/php-src/branches/PHP_5_3/ext/mysqlnd/ mysqlnd_result.c

From: Date: Wed, 25 Aug 2010 15:06:47 +0000
Subject: svn: /php/php-src/branches/PHP_5_3/ext/mysqlnd/ mysqlnd_result.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-63368@lists.php.net to get a copy of this message
andrey Wed, 25 Aug 2010 15:06:47 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=302776 Log: Fix for bug #52221 Misbehaviour of magic_quotes_runtime (get/set)) Bug: http://bugs.php.net/52221 (Assigned) Misbehaviour of magic_quotes_runtime (get/set)) Changed paths: U php/php-src/branches/PHP_5_3/ext/mysqlnd/mysqlnd_result.c Modified: php/php-src/branches/PHP_5_3/ext/mysqlnd/mysqlnd_result.c =================================================================== --- php/php-src/branches/PHP_5_3/ext/mysqlnd/mysqlnd_result.c 2010-08-25 15:02:02 UTC (rev 302775) +++ php/php-src/branches/PHP_5_3/ext/mysqlnd/mysqlnd_result.c 2010-08-25 15:06:47 UTC (rev 302776) @@ -1540,6 +1540,8 @@ break; default:exit(0); } + } else if (extension == MYSQLND_MYSQLI && PG(magic_quotes_runtime)) { + php_error_docref(NULL TSRMLS_CC, E_ERROR, "magic_quotes_runtime are not supported by mysqlnd. They were deprecated in PHP 5.3 "); } /* return_value is IS_NULL for no more data and an array for data. Thus it's ok

« previous php.cvs (#63368) next »