/PHP-8.2/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.2/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() 25 if (!is_bool($tmp = $mysqli->autocommit(true))) 31 if (!$res = $mysqli->query('SELECT @@autocommit as auto_commit')) 37 printf("[005] Cannot turn off autocommit\n"); 39 if (true !== ($tmp = $mysqli->autocommit( true))) 42 if (!$res = $mysqli->query('SELECT @@autocommit as auto_commit')) 47 printf("[008] Cannot turn on autocommit\n"); 77 if (!$res = $mysqli->query('SELECT @@autocommit as auto_commit')) 83 printf("[018] Cannot turn on autocommit\n"); 85 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 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 | 35 … printf("[009] Cannot turn off autocommit, expecting true, got %s/%s\n", gettype($tmp), $tmp); 37 /* 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 | 37 if (true !== ($tmp = $mysqli->autocommit(false))) { 38 … printf("[003] Cannot turn off autocommit, expecting true, got %s/%s\n", gettype($tmp), $tmp);
|
H A D | mysqli_rollback.phpt | 23 … printf("[005] Cannot turn off autocommit, expecting true, got %s/%s\n", gettype($tmp), $tmp);
|
H A D | mysqli_release_savepoint.phpt | 35 … printf("[009] Cannot turn off autocommit, expecting true, got %s/%s\n", gettype($tmp), $tmp);
|
H A D | mysqli_commit.phpt | 23 … printf("[005] 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.2/ext/pdo_odbc/tests/ |
H A D | autocommit_change_mode.phpt | 115 SQLSTATE[HY000]: General error: Cannot change autocommit mode while a transaction is already open 119 SQLSTATE[HY000]: General error: Cannot change autocommit mode while a transaction is already open 127 SQLSTATE[HY000]: General error: Cannot change autocommit mode while a transaction is already open 131 SQLSTATE[HY000]: General error: Cannot change autocommit mode while a transaction is already open
|
/PHP-8.2/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.2/ext/mysqli/ |
H A D | mysqli.stub.php | 756 public function autocommit(bool $enable): bool {} function in mysqli
|
H A D | mysqli_arginfo.h | 941 ZEND_ME_MAPPING(autocommit, mysqli_autocommit, arginfo_class_mysqli_autocommit, ZEND_ACC_PUBLIC)
|
/PHP-8.2/ |
H A D | NEWS | 994 . Fixed bug GH-12767 (Unable to turn on autocommit mode with setAttribute()).
|