mirror of
https://github.com/php/php-src.git
synced 2024-09-24 19:37:26 +00:00
fix #37392 (Unnecessary call to OCITransRollback() at the end of request)
This commit is contained in:
parent
2d509493f1
commit
6fc10a0acd
@ -1718,7 +1718,9 @@ static int php_oci_persistent_helper(zend_rsrc_list_entry *le TSRMLS_DC)
|
||||
connection->descriptors = NULL;
|
||||
}
|
||||
|
||||
if (connection->needs_commit) {
|
||||
php_oci_connection_rollback(connection TSRMLS_CC);
|
||||
}
|
||||
|
||||
if (OCI_G(persistent_timeout) > 0) {
|
||||
connection->idle_expiry = timestamp + OCI_G(persistent_timeout);
|
||||
|
Loading…
Reference in New Issue
Block a user