Home
last modified time | relevance | path

Searched refs:auto_commit (Results 1 – 11 of 11) sorted by relevance

/PHP-7.1/ext/mysqli/tests/
H A Dmysqli_autocommit.phpt45 if (!$res = mysqli_query($link, 'SELECT @@autocommit as auto_commit'))
50 if ($tmp['auto_commit'])
56 if (!$res = mysqli_query($link, 'SELECT @@autocommit as auto_commit'))
60 if (!$tmp['auto_commit'])
91 if (!$res = mysqli_query($link, 'SELECT @@autocommit as auto_commit'))
95 if (!$tmp['auto_commit'])
H A Dmysqli_autocommit_oo.phpt34 if (!$res = $mysqli->query('SELECT @@autocommit as auto_commit'))
39 if ($tmp['auto_commit'])
45 if (!$res = $mysqli->query('SELECT @@autocommit as auto_commit'))
49 if (!$tmp['auto_commit'])
80 if (!$res = $mysqli->query('SELECT @@autocommit as auto_commit'))
85 if (!$tmp['auto_commit'])
/PHP-7.1/ext/pdo_mysql/tests/
H A Dpdo_mysql_begintransaction.phpt106 if (!($stmt = $db->query('SELECT @@autocommit as auto_commit')))
110 if ($tmp['auto_commit'] != 1)
112 $tmp['auto_commit'], $stmt->errorCode(), $stmt->errorInfo());
117 if (!($stmt = $db->query('SELECT @@autocommit as auto_commit')))
121 if ($tmp['auto_commit'] != 0)
123 $tmp['auto_commit'], $stmt->errorCode(), trim(implode(' ', $stmt->errorInfo())));
127 if ($tmp['auto_commit'] != 1)
129 $tmp['auto_commit'], $stmt->errorCode(), $stmt->errorInfo());
/PHP-7.1/ext/pdo_mysql/
H A Dmysql_driver.c355 PDO_DBG_INF_FMT("dbh->autocommit=%d", dbh->auto_commit); in mysql_handle_autocommit()
357 …RETURN(0 <= mysql_autocommit(((pdo_mysql_db_handle *)dbh->driver_data)->server, dbh->auto_commit)); in mysql_handle_autocommit()
359 if (dbh->auto_commit) { in mysql_handle_autocommit()
379 if (dbh->auto_commit ^ bval) { in pdo_mysql_set_attribute()
380 dbh->auto_commit = bval; in pdo_mysql_set_attribute()
454 ZVAL_LONG(return_value, dbh->auto_commit);
792 if (!dbh->auto_commit) {
/PHP-7.1/ext/pdo_firebird/
H A Dfirebird_driver.c101 if (dbh->auto_commit) { in firebird_handle_closer()
266 if (dbh->auto_commit && isc_commit_retaining(H->isc_status, &H->tr)) { in firebird_handle_doer()
414 if (dbh->auto_commit && !dbh->in_txn) { in firebird_alloc_prepare_stmt()
489 if (dbh->auto_commit ^ bval) { in firebird_handle_set_attribute()
504 dbh->auto_commit = bval; in firebird_handle_set_attribute()
571 ZVAL_LONG(val,dbh->auto_commit); in firebird_handle_get_attribute()
H A Dfirebird_statement.c150 if (stmt->dbh->auto_commit && isc_commit_retaining(H->isc_status, &H->tr)) { in firebird_stmt_execute()
/PHP-7.1/ext/pdo_odbc/
H A Dodbc_driver.c273 if (dbh->auto_commit) { in odbc_handle_begin()
302 if (dbh->auto_commit) { in odbc_handle_commit()
327 if (dbh->auto_commit && H->dbc) { in odbc_handle_rollback()
427 (SQLPOINTER)(dbh->auto_commit ? SQL_AUTOCOMMIT_ON : SQL_AUTOCOMMIT_OFF), SQL_IS_INTEGER); in pdo_odbc_handle_factory()
/PHP-7.1/ext/pdo_oci/
H A Doci_driver.c353 (dbh->auto_commit && !dbh->in_txn) ? OCI_COMMIT_ON_SUCCESS : OCI_DEFAULT); in oci_handle_doer()
458 dbh->auto_commit = (unsigned int)lval? 1 : 0; in oci_handle_set_attribute()
524 ZVAL_BOOL(return_value, dbh->auto_commit); in oci_handle_get_attribute()
H A Doci_statement.c151 if (stmt->dbh->auto_commit && !stmt->dbh->in_txn) { in oci_stmt_execute()
/PHP-7.1/ext/pdo/
H A Dphp_pdo_driver.h443 unsigned auto_commit:1; member
H A Dpdo_dbh.c343 dbh->auto_commit = pdo_attr_lval(options, PDO_ATTR_AUTOCOMMIT, 1); in PHP_METHOD()

Completed in 41 milliseconds