/PHP-8.1/ext/mysqli/tests/ |
H A D | mysqli_num_fields.phpt | 15 function func_test_mysqli_num_fields($link, $query, $expected, $offset, $test_free = false) { 17 if (!($res = mysqli_query($link, $query))) {
|
H A D | bug73462.phpt | 15 $result = $mysql_1->query("SHOW STATUS LIKE 'Connections'"); 31 $result = $mysql_3->query("SHOW STATUS LIKE 'Connections'");
|
H A D | mysqli_fetch_array_oo.phpt | 21 if (!$res = $mysqli->query("SELECT * FROM test ORDER BY id LIMIT 5")) { 42 if (!$res = $mysqli->query("SELECT 1 AS a, 2 AS a, 3 AS c, 4 AS C, NULL AS d, true AS e")) { 43 printf("[010] Cannot run query, [%d] %s\n", $mysqli->errno, $$mysqli->error); 49 if (!$res = $mysqli->query("SELECT 1 AS a, 2 AS b, 3 AS c, 4 AS C")) { 50 printf("[012] Cannot run query, [%d] %s\n", 75 if (!$mysqli->query("DROP TABLE IF EXISTS test")) { 80 …if (!$mysqli->query($sql = sprintf("CREATE TABLE test(id INT NOT NULL, label %s, PRIMARY KEY(id)) … 86 if (!$mysqli->query($sql = sprintf("INSERT INTO test(id, label) VALUES (1, NULL)"))) { 92 … if (!$mysqli->query($sql = "INSERT INTO test(id, label) VALUES (1, '" . $sql_value . "')")) { 97 … if (!$mysqli->query($sql = sprintf("INSERT INTO test(id, label) VALUES (1, '%d')", $sql_value))) { [all …]
|
H A D | mysqli_stmt_param_count.phpt | 24 function func_test_mysqli_stmt_param_count($stmt, $query, $expected, $offset) { 26 if (!mysqli_stmt_prepare($stmt, $query)) {
|
H A D | bug48909.phpt | 17 if (!$link->query("DROP TABLE IF EXISTS test") || 18 … !$link->query(sprintf("CREATE TABLE test(id INT, label varchar(255)) ENGINE = %s", $engine)))
|
H A D | mysqli_error_oo.phpt | 28 if (!$mysqli->query('DROP TABLE IF EXISTS test')) { 32 $mysqli->query('SELECT * FROM test');
|
H A D | bug32405.phpt | 19 …$link->query("CREATE TABLE test_users(user_id int(10) unsigned NOT NULL auto_increment, login varc… 20 …$link->query('INSERT INTO test_users VALUES (NULL, "user1"), (NULL, "user2"), (NULL, "user3"), (NU…
|
/PHP-8.1/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_last_insert_id.phpt | 18 … printf("[001] No query has been run, lastInsertId() should return '0'/string got '%s'/%s\n", 33 $stmt = $db->query('SELECT id FROM test LIMIT 1'); 63 $stmt = $db->query('SELECT LAST_INSERT_ID() as _last_id'); 84 $stmt = $db->query('SELECT @@auto_increment_increment AS inc'); 91 $stmt = $db->query('SELECT LAST_INSERT_ID() as _last_id');
|
H A D | bug80458.phpt | 20 $db->query('DROP TABLE IF EXISTS test'); 21 $db->query('CREATE TABLE test (first int) ENGINE = InnoDB'); 22 $res = $db->query('INSERT INTO test(first) VALUES (1),(2),(3),(4),(5),(6),(7),(8),(9),(10),(11),(12… 29 $res = $db->query('DELETE FROM test WHERE first=2'); 70 $res = $db->query('DELETE FROM test WHERE first=9');
|
H A D | bug41125.phpt | 34 foreach ($queries as $k => $query) { 35 $stmt = $db->prepare($query); 37 printf("[%d] Query: [[%s]]\n", $k + 1, $query); 75 foreach ($queries as $k => $query) { 76 $stmt = $db->prepare($query); 80 printf("[%d] Query: [[%s]]\n", $k + 1, $query);
|
H A D | pdo_mysql_exec_load_data.phpt | 12 $stmt = $db->query('SELECT USER() as _user'); 20 $stmt = $db->query("SHOW VARIABLES LIKE 'secure_file_priv'"); 72 $stmt = $db->query("SHOW VARIABLES LIKE 'secure_file_priv'"); 88 $stmt = $db->query('SELECT id, col1 FROM test ORDER BY id ASC');
|
H A D | bug_44707.phpt | 13 $stmt = $db->query('SELECT VERSION() as _version'); 47 $stmt = $db->query('SELECT * FROM test'); 56 $stmt = $db->query('SELECT * FROM test');
|
H A D | pdo_mysql_stmt_fetch_non_select.phpt | 23 if (!is_object($stmt = $db->query('DESCRIBE test id'))) 40 if (!is_object($stmt = $db->query('SHOW ENGINES'))) 58 if (!is_object($stmt = $db->query("EXPLAIN SELECT id FROM test"))) 79 if (!is_object($stmt = $db->query('DESCRIBE test id'))) 113 if (!is_object($stmt = $db->query('SHOW ENGINES'))) 146 if (!is_object($stmt = $db->query("EXPLAIN SELECT id FROM test")))
|
H A D | skipifinfilenotallowed.inc | 3 $stmt = $db->query("SHOW VARIABLES LIKE 'local_infile'");
|
H A D | gh11550.phpt | 2 Bug GH-11550 (MySQL Statement has a empty query result when the response field has changed, also Se… 45 $pdo->query('DROP TABLE IF EXISTS test_gh11550');
|
/PHP-8.1/ext/odbc/tests/ |
H A D | bug73448.phpt | 19 "/* another erroneous query */ SELECT * FROM zwiebelfleisch", 47 string(58) "/* another erroneous query */ SELECT * FROM zwiebelfleisch"
|
/PHP-8.1/ext/oci8/tests/ |
H A D | oci_execute_segfault.phpt | 33 $query = 'SELECT blob, DBMS_LOB.GETLENGTH(blob) FROM '.$schema.$table_name.' ORDER BY 2'; 35 $s = oci_parse ($c, $query);
|
/PHP-8.1/sapi/fpm/tests/ |
H A D | pool-apparmor-basic.phpt | 43 - SIGSEGV|failed to query apparmor confinement 51 '/(SIGSEGV|failed to query apparmor confinement|' .
|
/PHP-8.1/ext/pdo/tests/ |
H A D | bug_44861.phpt | 38 $query = "SELECT 'row1' AS r $from UNION SELECT 'row2' $from UNION SELECT 'row3' $from UNION SELECT… 41 $res = $db->prepare($query, $aParams); 57 // Test binding params via emulated prepared query
|
/PHP-8.1/ext/sqlite3/tests/ |
H A D | sqlite3_12_unfinalized_stmt_cleanup.phpt | 2 SQLite3::query Unfinalized statement tests 19 $results = $db->query("SELECT * FROM test ORDER BY id ASC");
|
/PHP-8.1/ext/pdo_dblib/tests/ |
H A D | batch_stmt_ins_up.phpt | 2 PDO_DBLIB: driver supports multiple queries in a single \PDO::query() call that doesn't return any … 15 $stmt = $db->query(
|
H A D | types.phpt | 41 $stmt = $db->query($sql); 54 $stmt = $db->query($sql);
|
/PHP-8.1/ext/standard/ |
H A D | url.c | 44 if (theurl->query) in php_url_free() 45 zend_string_release_ex(theurl->query, 0); in php_url_free() 313 ret->query = zend_string_init(p, (e - p), 0); in php_url_parse_ex2() 314 php_replace_controlchars_ex(ZSTR_VAL(ret->query), ZSTR_LEN(ret->query)); in php_url_parse_ex2() 316 ret->query = ZSTR_EMPTY_ALLOC(); in php_url_parse_ex2() 373 if (resource->query != NULL) RETVAL_STR_COPY(resource->query); in PHP_FUNCTION() 413 if (resource->query != NULL) { in PHP_FUNCTION() 414 ZVAL_STR_COPY(&tmp, resource->query); in PHP_FUNCTION()
|
/PHP-8.1/ext/mysqli/ |
H A D | mysqli_nonapi.c | 633 char *query = NULL; local 642 if (mysql_real_query(mysql->mysql, query, query_len)) { 682 char *query = NULL; local 721 if (mysql_real_query(mysql->mysql, query, query_len)) { 1164 char * query; local 1186 query_len = spprintf(&query, 0, "START TRANSACTION%s %s", 1194 ret = mysql_real_query(conn, query, query_len); 1195 efree(query); 1245 char * query; local 1247 ret = mysql_real_query(conn, query, query_len); [all …]
|
/PHP-8.1/ext/pdo_oci/tests/ |
H A D | bug46274.phpt | 26 $db->query('CREATE TABLE test_one_blob (id INT NOT NULL, blob1 BLOB)'); 50 $res = $db->query("SELECT blob1 from test_one_blob");
|