mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Use RETURN_THROWS() after try_convert_to_string()
This commit is contained in:
parent
1658b5babc
commit
7b4a4d2ace
17 changed files with 30 additions and 30 deletions
|
@ -592,7 +592,7 @@ static PHP_METHOD(PDO, pgsqlCopyFromArray)
|
|||
size_t query_len;
|
||||
if (!try_convert_to_string(tmp)) {
|
||||
efree(query);
|
||||
return;
|
||||
RETURN_THROWS();
|
||||
}
|
||||
|
||||
if (buffer_len < Z_STRLEN_P(tmp)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue