Searched refs:autocommit (Results 1 – 20 of 20) sorted by relevance
/PHP-8.1/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_attr_autocommit.phpt | 16 // autocommit should be on by default 21 $row = $db->query('SELECT @@autocommit AS _autocommit')->fetch(PDO::FETCH_ASSOC); 27 printf("[003] Cannot turn off autocommit\n"); 29 $row = $db->query('SELECT @@autocommit AS _autocommit')->fetch(PDO::FETCH_ASSOC); 33 // PDO thinks autocommit is off, but its manually turned on... 34 if (!$db->query('SET autocommit = 1')) 41 if (!$db->query('SET autocommit = 0')) 45 printf("[008] Cannot turn on autocommit\n"); 47 $row = $db->query('SELECT @@autocommit AS _autocommit')->fetch(PDO::FETCH_ASSOC); 67 // autocommit is on, no rollback possible [all …]
|
H A D | pdo_mysql_begintransaction.phpt | 109 if (!($stmt = $db->query('SELECT @@autocommit as auto_commit'))) 114 … printf("[023] MySQL Server should indicate autocommit mode, expecting 1, got '%s', [%d] %s\n", 120 if (!($stmt = $db->query('SELECT @@autocommit as auto_commit'))) 129 // Now we should be back to autocommit - we've issues a commit 131 … printf("[027] MySQL Server should indicate autocommit mode, expecting 1, got '%s', [%d] %s\n", 134 // Turn off autocommit using a server variable 135 $db->exec('SET @@autocommit = 0'); 137 …printf("[028] I'm confused, how can autocommit be on? Didn't I say I want to manually control tran… 207 [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 | 40 … printf("[003] According to the manual we should be back to autocommit mode, got %s/%s\n",
|
/PHP-8.1/ext/mysqli/tests/ |
H A D | 074.phpt | 16 var_dump($mysqli->autocommit(false)); 17 $result = $mysqli->query("SELECT @@autocommit"); 20 var_dump($mysqli->autocommit(true)); 21 $result = $mysqli->query("SELECT @@autocommit");
|
H A D | mysqli_autocommit_oo.phpt | 2 mysqli->autocommit() 28 if (!is_bool($tmp = $mysqli->autocommit(true))) 34 if (!$res = $mysqli->query('SELECT @@autocommit as auto_commit')) 40 printf("[005] Cannot turn off autocommit\n"); 42 if (true !== ($tmp = $mysqli->autocommit( true))) 45 if (!$res = $mysqli->query('SELECT @@autocommit as auto_commit')) 50 printf("[008] Cannot turn on autocommit\n"); 80 if (!$res = $mysqli->query('SELECT @@autocommit as auto_commit')) 86 printf("[018] Cannot turn on autocommit\n"); 88 if (true !== ($tmp = $mysqli->autocommit( false))) [all …]
|
H A D | mysqli_autocommit.phpt | 33 if (!$res = mysqli_query($link, 'SELECT @@autocommit as auto_commit')) 39 printf("[008] Cannot turn off autocommit\n"); 44 if (!$res = mysqli_query($link, 'SELECT @@autocommit as auto_commit')) 49 printf("[011] Cannot turn on autocommit\n"); 79 if (!$res = mysqli_query($link, 'SELECT @@autocommit as auto_commit')) 84 printf("[021] Cannot turn on autocommit\n");
|
H A D | 015.phpt | 2 mysqli autocommit/commit/rollback with innodb 29 printf("[003] Cannot turn on autocommit mode, [%d] %s\n", 39 printf("[005] Cannot turn off autocommit mode, [%d] %s\n",
|
H A D | mysqli_savepoint.phpt | 37 … printf("[009] Cannot turn off autocommit, expecting true, got %s/%s\n", gettype($tmp), $tmp); 39 /* overrule autocommit */
|
H A D | 018.phpt | 19 if (!$stmt = mysqli_prepare($link, "SELECT @@autocommit"))
|
H A D | mysqli_begin_transaction.phpt | 30 printf("[010] Cannot turn on autocommit, expecting true, got %s/%s\n", gettype($tmp), $tmp); 32 /* overrule autocommit */
|
H A D | mysqli_commit_oo.phpt | 39 if (true !== ($tmp = $mysqli->autocommit(false))) { 40 … printf("[003] Cannot turn off autocommit, expecting true, got %s/%s\n", gettype($tmp), $tmp);
|
H A D | mysqli_rollback.phpt | 25 … printf("[005] Cannot turn off autocommit, expecting true, got %s/%s\n", gettype($tmp), $tmp);
|
H A D | mysqli_commit.phpt | 25 … printf("[005] Cannot turn off autocommit, expecting true, got %s/%s\n", gettype($tmp), $tmp);
|
H A D | mysqli_release_savepoint.phpt | 39 … 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 | 23 'autocommit' => true,
|
/PHP-8.1/ext/pdo_oci/tests/ |
H A D | pdo_oci_attr_autocommit_1.phpt | 2 PDO_OCI: Attribute: Basic autocommit functionality 39 // 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.1/ext/mysqli/ |
H A D | mysqli.stub.php | 144 public function autocommit(bool $enable): bool {} function in mysqli
|
H A D | mysqli_arginfo.h | 980 ZEND_ME_MAPPING(autocommit, mysqli_autocommit, arginfo_class_mysqli_autocommit, ZEND_ACC_PUBLIC)
|
Completed in 24 milliseconds