/PHP-5.5/ext/mysqlnd/ |
H A D | mysqlnd.h | 114 #define mysqlnd_query(conn, query_str, query_len) ((conn)->data)->m->query((conn)->data, (query_st…
|
/PHP-5.5/ext/mysqli/tests/ |
H A D | mysqli_stmt_multires.phpt | 18 if (!$link->query('DROP PROCEDURE IF EXISTS p123')) { 22 …if (!$link->query("CREATE PROCEDURE p123() BEGIN SELECT id+12, CONCAT_WS('-',label,'ahoi') FROM te… 98 if (!$link->query('DROP PROCEDURE IF EXISTS p123')) {
|
H A D | mysqli_stmt_num_rows.phpt | 27 function func_test_mysqli_stmt_num_rows($stmt, $query, $expected, $offset) { 29 if (!mysqli_stmt_prepare($stmt, $query)) {
|
H A D | mysqli_stmt_param_count.phpt | 30 function func_test_mysqli_stmt_param_count($stmt, $query, $expected, $offset) { 32 if (!mysqli_stmt_prepare($stmt, $query)) {
|
H A D | mysqli_stmt_bind_limits.phpt | 42 if (!$link->query($drop) || !$link->query($create)) { 87 if (!($res = $link->query("SELECT * FROM test"))) {
|
H A D | mysqli_stmt_execute_stored_proc_next_result.phpt | 57 if (!$link->query("SELECT 1")) 106 if (!$link->query("SELECT 1"))
|
H A D | mysqli_stmt_execute_stored_proc_out.phpt | 56 if (!$res = $link->query("SELECT 1"))
|
H A D | mysqli_stmt_big_prepare.phpt | 35 /* execute query */
|
H A D | mysqli_stmt_bind_param_many_columns.phpt | 32 list($old_max_allowed_packet) = $link->query("SELECT @@max_allowed_packet")->fetch_row(); 33 if (!$link->query("SET GLOBAL max_allowed_packet=(2<<29)")) { 60 $link->query("CREATE TABLE test(" . implode(" , ", $str) . ") ENGINE=MyISAM"); 86 if (!$link->query("SET GLOBAL max_allowed_packet=$old_max_allowed_packet")) {
|
H A D | mysqli_stmt_datatype_change.phpt | 23 $c1->query("use $db"); 24 $c2->query("use $db"); 25 $c1->query("drop table if exists type_change"); 26 $c1->query("create table type_change(a int, b char(10)) ENGINE = " . $engine); 27 $c1->query("insert into type_change values (1, 'one'), (2, 'two')"); 41 var_dump($c2->query("alter table type_change drop a"));
|
H A D | mysqli_ps_select_union.phpt | 16 …if (!($res = $link->query("SELECT CAST('one' AS CHAR) AS column1 UNION SELECT CAST('three' AS CHAR… 73 …if (!($res = $link->query("SELECT 1 AS column1 UNION SELECT CAST('three' AS CHAR) UNION SELECT CAS… 122 if (!($res = $link->query("SELECT 1 AS column1 UNION SELECT 303 UNION SELECT 2")))
|
H A D | mysqli_select_db.phpt | 95 if (!$res = $link->query("SELECT id FROM test WHERE id = 1"))
|
H A D | mysqli_send_query.phpt | 34 $query = array(); 35 if (NULL !== ($tmp = @mysqli_send_query($link, $query)))
|
H A D | mysqli_report.phpt | 185 - query must cause the warning on all MySQL versions
|
H A D | mysqli_no_reconnect.phpt | 73 printf("[011] Executing a query should not be possible, connection should be closed, [%d] %s\n", 83 It is undefined if the server replies to the query and how. 120 printf("[017] Running a query should not be possible, connection should be gone, [%d] %s\n",
|
H A D | mysqli_num_rows.phpt | 24 function func_test_mysqli_num_rows($link, $query, $expected, $offset, $test_free = false) { 26 if (!$res = mysqli_query($link, $query, MYSQLI_STORE_RESULT)) {
|
H A D | mysqli_pam_sha256.phpt | 23 if (!($res = $link->query("SHOW PLUGINS"))) { 37 if (!($res = $link->query("SHOW STATUS LIKE 'Rsa_public_key'"))) { 49 if (!$link->query("SET @@session.old_passwords=2")) { 53 $link->query('DROP USER shatest'); 54 $link->query("DROP USER shatest@localhost"); 67 if (!$link->query("DROP TABLE IF EXISTS test") || 68 !$link->query("CREATE TABLE test (id INT)") || 69 !$link->query("INSERT INTO test(id) VALUES (1), (2), (3)")) 89 if (!$res = $link->query("SELECT id FROM test WHERE id = 1")) 109 $link->query('DROP USER shatest'); [all …]
|
H A D | mysqli_pam_sha256_public_key_option.phpt | 23 if (!($res = $link->query("SHOW PLUGINS"))) { 37 if (!($res = $link->query("SHOW STATUS LIKE 'Rsa_public_key'"))) { 59 if (!$link->query("SET @@session.old_passwords=2")) { 63 $link->query('DROP USER shatest'); 64 $link->query("DROP USER shatest@localhost"); 77 if (!$link->query("DROP TABLE IF EXISTS test") || 78 !$link->query("CREATE TABLE test (id INT)") || 79 !$link->query("INSERT INTO test(id) VALUES (1), (2), (3)")) 106 if (!$res = $link->query("SELECT id FROM test WHERE id = 1")) 126 $link->query('DROP USER shatest'); [all …]
|
H A D | mysqli_pam_sha256_public_key_option_invalid.phpt | 23 if (!($res = $link->query("SHOW PLUGINS"))) { 37 if (!($res = $link->query("SHOW STATUS LIKE 'Rsa_public_key'"))) { 59 if (!$link->query("SET @@session.old_passwords=2")) { 63 $link->query('DROP USER shatest'); 64 $link->query("DROP USER shatest@localhost"); 77 if (!$link->query("DROP TABLE IF EXISTS test") || 78 !$link->query("CREATE TABLE test (id INT)") || 79 !$link->query("INSERT INTO test(id) VALUES (1), (2), (3)")) 107 if (!$res = $link->query("SELECT id FROM test WHERE id = 1")) 170 $link->query('DROP USER shatest'); [all …]
|
H A D | mysqli_pconn_conn_multiple.phpt | 60 if (!($res = $link->query("SELECT 'works also with oo' AS syntax")) || 122 if (!($res = $link->query("SELECT 'works also with oo' AS syntax")) ||
|
H A D | mysqli_pconn_limits.phpt | 21 printf("[001] Cannot run query, [%d] %s\n", 33 printf("[003] Cannot run query, [%d] %s\n", 47 printf("[005] Cannot run query, [%d] %s\n", 60 printf("[007] Cannot run query, [%d] %s\n", 74 printf("[009] Cannot run query, [%d] %s\n",
|
H A D | mysqli_pconn_max_links.phpt | 76 printf("[003] Cannot run query on persistent connection of second DB user, [%d] %s\n", 135 printf("[013] Cannot run query on persistent connection of second DB user, [%d] %s\n",
|
H A D | mysqli_pconn_twice.phpt | 47 if (!($res = $link->query("SELECT 'works also with oo' AS syntax")) ||
|
H A D | mysqli_poll.phpt | 69 printf("[%03d + 2] Can fetch resultset although no query has been run!\n", $offset); 74 … printf("[%03d + 4] Cannot fetch and no error set - non resultset query (no SELECT)!\n", $offset); 88 // Connections on which no query has been send - 1 103 // Connections on which no query has been send - 2 111 // Connections on which no query has been send - 3
|
H A D | mysqli_poll_kill.phpt | 31 // Sleep 0.1s - the asynchronous query should have been processed after the wait period 40 // Yes, 1 - the asynchronous query should have been processed 49 // Yes, you can fetch a result - the query has been processed
|