Searched refs:auto_commit (Results 1 – 11 of 11) sorted by relevance
/PHP-7.1/ext/mysqli/tests/ |
H A D | mysqli_autocommit.phpt | 45 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 D | mysqli_autocommit_oo.phpt | 34 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 D | pdo_mysql_begintransaction.phpt | 106 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 D | mysql_driver.c | 355 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 D | firebird_driver.c | 101 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 D | firebird_statement.c | 150 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 D | odbc_driver.c | 273 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 D | oci_driver.c | 353 (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 D | oci_statement.c | 151 if (stmt->dbh->auto_commit && !stmt->dbh->in_txn) { in oci_stmt_execute()
|
/PHP-7.1/ext/pdo/ |
H A D | php_pdo_driver.h | 443 unsigned auto_commit:1; member
|
H A D | pdo_dbh.c | 343 dbh->auto_commit = pdo_attr_lval(options, PDO_ATTR_AUTOCOMMIT, 1); in PHP_METHOD()
|
Completed in 41 milliseconds