Searched refs:autocommit (Results 1 – 20 of 20) sorted by relevance
/PHP-8.0/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_attr_autocommit.phpt | 15 // autocommit should be on by default 20 $row = $db->query('SELECT @@autocommit AS _autocommit')->fetch(PDO::FETCH_ASSOC); 26 printf("[003] Cannot turn off autocommit\n"); 28 $row = $db->query('SELECT @@autocommit AS _autocommit')->fetch(PDO::FETCH_ASSOC); 32 // PDO thinks autocommit is off, but its manually turned on... 33 if (!$db->query('SET autocommit = 1')) 40 if (!$db->query('SET autocommit = 0')) 44 printf("[008] Cannot turn on autocommit\n"); 46 $row = $db->query('SELECT @@autocommit AS _autocommit')->fetch(PDO::FETCH_ASSOC); 66 // autocommit is on, no rollback possible [all …]
|
H A D | pdo_mysql_begintransaction.phpt | 106 if (!($stmt = $db->query('SELECT @@autocommit as auto_commit'))) 111 … printf("[023] MySQL Server should indicate autocommit mode, expecting 1, got '%s', [%d] %s\n", 117 if (!($stmt = $db->query('SELECT @@autocommit as auto_commit'))) 126 // Now we should be back to autocommit - we've issues a commit 128 … printf("[027] MySQL Server should indicate autocommit mode, expecting 1, got '%s', [%d] %s\n", 131 // Turn off autocommit using a server variable 132 $db->exec('SET @@autocommit = 0'); 134 …printf("[028] I'm confused, how can autocommit be on? Didn't I say I want to manually control tran… 204 [028] I'm confused, how can autocommit be on? Didn't I say I want to manually control transactions?
|
H A D | pdo_mysql_commit.phpt | 39 … printf("[003] According to the manual we should be back to autocommit mode, got %s/%s\n",
|
/PHP-8.0/ext/mysqli/tests/ |
H A D | 074.phpt | 15 var_dump($mysqli->autocommit(false)); 16 $result = $mysqli->query("SELECT @@autocommit"); 19 var_dump($mysqli->autocommit(true)); 20 $result = $mysqli->query("SELECT @@autocommit");
|
H A D | mysqli_autocommit_oo.phpt | 2 mysqli->autocommit() 27 if (!is_bool($tmp = $mysqli->autocommit(true))) 33 if (!$res = $mysqli->query('SELECT @@autocommit as auto_commit')) 39 printf("[005] Cannot turn off autocommit\n"); 41 if (true !== ($tmp = $mysqli->autocommit( true))) 44 if (!$res = $mysqli->query('SELECT @@autocommit as auto_commit')) 49 printf("[008] Cannot turn on autocommit\n"); 79 if (!$res = $mysqli->query('SELECT @@autocommit as auto_commit')) 85 printf("[018] Cannot turn on autocommit\n"); 87 if (true !== ($tmp = $mysqli->autocommit( false))) [all …]
|
H A D | mysqli_autocommit.phpt | 32 if (!$res = mysqli_query($link, 'SELECT @@autocommit as auto_commit')) 38 printf("[008] Cannot turn off autocommit\n"); 43 if (!$res = mysqli_query($link, 'SELECT @@autocommit as auto_commit')) 48 printf("[011] Cannot turn on autocommit\n"); 78 if (!$res = mysqli_query($link, 'SELECT @@autocommit as auto_commit')) 83 printf("[021] Cannot turn on autocommit\n");
|
H A D | 015.phpt | 2 mysqli autocommit/commit/rollback with innodb 28 printf("[003] Cannot turn on autocommit mode, [%d] %s\n", 38 printf("[005] Cannot turn off autocommit mode, [%d] %s\n",
|
H A D | mysqli_savepoint.phpt | 36 … printf("[009] Cannot turn off autocommit, expecting true, got %s/%s\n", gettype($tmp), $tmp); 38 /* overrule autocommit */
|
H A D | 018.phpt | 18 if (!$stmt = mysqli_prepare($link, "SELECT @@autocommit"))
|
H A D | mysqli_begin_transaction.phpt | 29 printf("[010] Cannot turn on autocommit, expecting true, got %s/%s\n", gettype($tmp), $tmp); 31 /* overrule autocommit */
|
H A D | mysqli_commit_oo.phpt | 38 if (true !== ($tmp = $mysqli->autocommit(false))) { 39 … printf("[003] Cannot turn off autocommit, expecting true, got %s/%s\n", gettype($tmp), $tmp);
|
H A D | mysqli_rollback.phpt | 24 … printf("[005] Cannot turn off autocommit, expecting true, got %s/%s\n", gettype($tmp), $tmp);
|
H A D | mysqli_commit.phpt | 24 … printf("[005] Cannot turn off autocommit, expecting true, got %s/%s\n", gettype($tmp), $tmp);
|
H A D | mysqli_release_savepoint.phpt | 38 … printf("[009] Cannot turn off autocommit, expecting true, got %s/%s\n", gettype($tmp), $tmp);
|
H A D | 014.phpt | 2 mysqli autocommit/commit/rollback
|
H A D | mysqli_class_mysqli_interface.phpt | 22 'autocommit' => true,
|
/PHP-8.0/ext/pdo_oci/tests/ |
H A D | pdo_oci_attr_autocommit_1.phpt | 2 PDO_OCI: Attribute: Basic autocommit functionality 37 // Use 2nd connection to check that autocommit does commit
|
H A D | pdo_oci_attr_autocommit_3.phpt | 2 PDO_OCI: Attribute: closing a connection in non-autocommit mode commits data
|
/PHP-8.0/ext/mysqli/ |
H A D | mysqli.stub.php | 24 public function autocommit(bool $enable) {} function in mysqli
|
H A D | mysqli_arginfo.h | 947 ZEND_ME_MAPPING(autocommit, mysqli_autocommit, arginfo_class_mysqli_autocommit, ZEND_ACC_PUBLIC)
|
Completed in 22 milliseconds