Home
last modified time | relevance | path

Searched refs:query (Results 251 – 275 of 529) sorted by relevance

1...<<11121314151617181920>>...22

/PHP-8.1/ext/mysqli/tests/
H A Dmysqli_num_fields.phpt15 function func_test_mysqli_num_fields($link, $query, $expected, $offset, $test_free = false) {
17 if (!($res = mysqli_query($link, $query))) {
H A Dbug73462.phpt15 $result = $mysql_1->query("SHOW STATUS LIKE 'Connections'");
31 $result = $mysql_3->query("SHOW STATUS LIKE 'Connections'");
H A Dmysqli_fetch_array_oo.phpt21 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 Dmysqli_stmt_param_count.phpt24 function func_test_mysqli_stmt_param_count($stmt, $query, $expected, $offset) {
26 if (!mysqli_stmt_prepare($stmt, $query)) {
H A Dbug48909.phpt17 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 Dmysqli_error_oo.phpt28 if (!$mysqli->query('DROP TABLE IF EXISTS test')) {
32 $mysqli->query('SELECT * FROM test');
H A Dbug32405.phpt19 …$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 Dpdo_mysql_last_insert_id.phpt18 … 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 Dbug80458.phpt20 $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 Dbug41125.phpt34 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 Dpdo_mysql_exec_load_data.phpt12 $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 Dbug_44707.phpt13 $stmt = $db->query('SELECT VERSION() as _version');
47 $stmt = $db->query('SELECT * FROM test');
56 $stmt = $db->query('SELECT * FROM test');
H A Dpdo_mysql_stmt_fetch_non_select.phpt23 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 Dskipifinfilenotallowed.inc3 $stmt = $db->query("SHOW VARIABLES LIKE 'local_infile'");
H A Dgh11550.phpt2 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 Dbug73448.phpt19 "/* another erroneous query */ SELECT * FROM zwiebelfleisch",
47 string(58) "/* another erroneous query */ SELECT * FROM zwiebelfleisch"
/PHP-8.1/ext/oci8/tests/
H A Doci_execute_segfault.phpt33 $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 Dpool-apparmor-basic.phpt43 - SIGSEGV|failed to query apparmor confinement
51 '/(SIGSEGV|failed to query apparmor confinement|' .
/PHP-8.1/ext/pdo/tests/
H A Dbug_44861.phpt38 $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 Dsqlite3_12_unfinalized_stmt_cleanup.phpt2 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 Dbatch_stmt_ins_up.phpt2 PDO_DBLIB: driver supports multiple queries in a single \PDO::query() call that doesn't return any …
15 $stmt = $db->query(
H A Dtypes.phpt41 $stmt = $db->query($sql);
54 $stmt = $db->query($sql);
/PHP-8.1/ext/standard/
H A Durl.c44 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 Dmysqli_nonapi.c633 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 Dbug46274.phpt26 $db->query('CREATE TABLE test_one_blob (id INT NOT NULL, blob1 BLOB)');
50 $res = $db->query("SELECT blob1 from test_one_blob");

Completed in 35 milliseconds

1...<<11121314151617181920>>...22