Searched refs:auto_commit (Results 1 – 11 of 11) sorted by relevance
/PHP-5.6/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-5.6/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-5.6/ext/pdo_firebird/ |
H A D | firebird_driver.c | 103 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() 408 if (dbh->auto_commit && !dbh->in_txn) { in firebird_alloc_prepare_stmt() 482 if (dbh->auto_commit ^ Z_BVAL_P(val)) { in firebird_handle_set_attribute() 497 dbh->auto_commit = Z_BVAL_P(val); in firebird_handle_set_attribute() 555 ZVAL_LONG(val,dbh->auto_commit); in firebird_handle_get_attribute()
|
H A D | firebird_statement.c | 137 if (stmt->dbh->auto_commit && isc_commit_retaining(H->isc_status, &H->tr)) { in firebird_stmt_execute()
|
/PHP-5.6/ext/pdo_mysql/ |
H A D | mysql_driver.c | 357 PDO_DBG_INF_FMT("dbh->autocommit=%d", dbh->auto_commit); in mysql_handle_autocommit() 359 …RETURN(0 <= mysql_autocommit(((pdo_mysql_db_handle *)dbh->driver_data)->server, dbh->auto_commit)); in mysql_handle_autocommit() 361 if (dbh->auto_commit) { in mysql_handle_autocommit() 381 if (dbh->auto_commit ^ Z_BVAL_P(val)) { in pdo_mysql_set_attribute() 382 dbh->auto_commit = Z_BVAL_P(val); in pdo_mysql_set_attribute() 454 ZVAL_LONG(return_value, dbh->auto_commit); 776 if (!dbh->auto_commit) {
|
/PHP-5.6/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-5.6/ext/pdo_oci/ |
H A D | oci_driver.c | 355 (dbh->auto_commit && !dbh->in_txn) ? OCI_COMMIT_ON_SUCCESS : OCI_DEFAULT); in oci_handle_doer() 461 dbh->auto_commit = Z_LVAL_P(val); in oci_handle_set_attribute() 524 ZVAL_BOOL(return_value, dbh->auto_commit); in oci_handle_get_attribute()
|
H A D | oci_statement.c | 140 if (stmt->dbh->auto_commit && !stmt->dbh->in_txn) { in oci_stmt_execute()
|
/PHP-5.6/ext/pdo/ |
H A D | php_pdo_driver.h | 461 unsigned auto_commit:1; member
|
H A D | pdo_dbh.c | 378 dbh->auto_commit = pdo_attr_lval(options, PDO_ATTR_AUTOCOMMIT, 1 TSRMLS_CC); in PHP_METHOD()
|
Completed in 57 milliseconds