Searched refs:last_id (Results 1 – 4 of 4) sorted by relevance
/PHP-5.4/ext/mysqli/tests/ |
H A D | mysqli_insert_id.phpt | 48 if (($last_id = mysqli_insert_id($link)) <= 0) 49 printf("[010] Expecting int/any >0, got %s/%s\n", gettype($last_id), $last_id); 74 if (($next_id = mysqli_insert_id($link)) <= $last_id) 79 printf("[014] Expecting int/any > %d, got %s/%s\n", $last_id, gettype($next_id), $next_id); 81 $last_id = $next_id; 91 if (($next_id = mysqli_insert_id($link)) != $last_id + $inc) { 92 printf("[016] Expecting int/%d, got %s/%s\n", $last_id + 1, gettype($next_id), $next_id); 96 if (!$res = mysqli_query($link, "SELECT LAST_INSERT_ID() AS last_id")) { 106 if ($next_id != $row['last_id']) { 108 $next_id, $row['last_id']);
|
/PHP-5.4/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_last_insert_id.phpt | 64 $last_id = $row['_last_id']; 65 if ($next_id != $last_id) { 67 $last_id, $next_id); 72 if ($next_id <= $last_id) 73 printf("[011] Expecting at least %d, got %d\n", $last_id + 1, $next_id); 92 $last_id = $row['_last_id']; 96 if ($next_id < ($last_id + $inc)) 97 printf("[012] Expecting at least %d, got %d\n", $last_id + $inc, $next_id);
|
/PHP-5.4/ext/pdo/ |
H A D | php_pdo_driver.h | 307 pdo_dbh_last_id_func last_id; member
|
H A D | pdo_dbh.c | 996 if (!dbh->methods->last_id) { in PHP_METHOD() 1000 …Z_STRVAL_P(return_value) = dbh->methods->last_id(dbh, name, (unsigned int *)&Z_STRLEN_P(return_val… in PHP_METHOD()
|
Completed in 21 milliseconds