mirror of
https://github.com/php/php-src.git
synced 2026-04-29 19:23:22 +02:00
Bugfix #25404
This commit is contained in:
+3
-1
@@ -351,7 +351,9 @@ static int _rollback_transactions(zend_rsrc_list_entry *rsrc TSRMLS_DC)
|
||||
#if HAVE_PGTRANSACTIONSTATUS && HAVE_PQPROTOCOLVERSION
|
||||
res = PQexec(link,"ROLLBACK;");
|
||||
#else
|
||||
res = PQexec(link,"BEGIN;ROLLBACK;");
|
||||
res = PQexec(link,"BEGIN;");
|
||||
PQclear(res);
|
||||
res = PQexec(link,"ROLLBACK;");
|
||||
#endif
|
||||
PQclear(res);
|
||||
PGG(ignore_notices) = orig;
|
||||
|
||||
Reference in New Issue
Block a user