Skip to content

Commit 98dc072

Browse files
committed
Fixed commit method when setting attributes
1 parent b5e1323 commit 98dc072

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/pdo_firebird/firebird_driver.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -884,7 +884,7 @@ static bool firebird_handle_set_attribute(pdo_dbh_t *dbh, zend_long attr, zval *
884884
}
885885
} else {
886886
/* close the transaction */
887-
if (H->tr && !firebird_handle_commit(dbh)) {
887+
if (H->tr && isc_commit_transaction(H->isc_status, &H->tr)) {
888888
return false;
889889
}
890890
H->in_manually_txn = 0;

0 commit comments

Comments
 (0)