mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Fix for bug #52221 Misbehaviour of magic_quotes_runtime (get/set))
This commit is contained in:
parent
7a83093a3b
commit
ab778e7414
1 changed files with 2 additions and 0 deletions
|
@ -1540,6 +1540,8 @@ MYSQLND_METHOD(mysqlnd_res, fetch_into)(MYSQLND_RES * result, unsigned int flags
|
|||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue