We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a2ac800 + e96a35b commit e954bf6Copy full SHA for e954bf6
ext/pdo_firebird/firebird_driver.c
@@ -684,7 +684,7 @@ static bool firebird_handle_preparer(pdo_dbh_t *dbh, zend_string *sql, /* {{{ */
684
685
/* make all parameters nullable */
686
unsigned int i;
687
- XSQLVAR* var;
+ XSQLVAR* var;
688
for (i = 0, var = S->in_sqlda->sqlvar; i < S->in_sqlda->sqld; i++, var++) {
689
/* The low bit of sqltype indicates that the parameter can take a NULL value */
690
var->sqltype |= 1;
@@ -1422,7 +1422,7 @@ static int pdo_firebird_handle_factory(pdo_dbh_t *dbh, zval *driver_options) /*
1422
"HY000", H->isc_status[1], errmsg);
1423
}
1424
1425
- if (dbh->auto_commit && !H->tr) {
+ if (ret&&dbh->auto_commit && !H->tr) {
1426
ret = php_firebird_begin_transaction(dbh, /* auto commit mode */ true);
1427
1428
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments