mirror of
https://github.com/php/php-src.git
synced 2024-11-25 02:44:58 +08:00
return FALSE if driver doesn't support quoting (this is what docu says)
also fixed PECL bug #6365
This commit is contained in:
parent
3b1cb0e500
commit
1ad4dd8795
@ -1036,6 +1036,7 @@ static PHP_METHOD(PDO, quote)
|
||||
RETURN_STRINGL(qstr, qlen, 0);
|
||||
}
|
||||
PDO_HANDLE_DBH_ERR();
|
||||
RETURN_FALSE;
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user