Skip to content

Commit 5df0e41

Browse files
committed
refacter
1 parent cf2ea9c commit 5df0e41

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

ext/pdo_firebird/firebird_statement.c

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -177,10 +177,8 @@ static int firebird_stmt_execute(pdo_stmt_t *stmt) /* {{{ */
177177
;
178178
}
179179

180-
if (stmt->dbh->auto_commit && !S->H->in_manually_txn) {
181-
if (isc_commit_retaining(H->isc_status, &H->tr)) {
182-
break;
183-
}
180+
if (stmt->dbh->auto_commit && !S->H->in_manually_txn && isc_commit_retaining(H->isc_status, &H->tr)) {
181+
break;
184182
}
185183

186184
*S->name = 0;

0 commit comments

Comments
 (0)