Use RETURN_THROWS() after try_convert_to_string()

This commit is contained in:
Máté Kocsis 2020-01-03 17:04:06 +01:00
parent 1658b5babc
commit 7b4a4d2ace
No known key found for this signature in database
GPG key ID: FD055E41728BF310
17 changed files with 30 additions and 30 deletions

View file

@ -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)) {