/PHP-7.0/ext/pdo/tests/ |
H A D | bug_34687.phpt | 2 PDO Common: Bug #34687 (query doesn't return error information) 18 $x = $db->query("UPDATE non_existent_pdo_test_table set foo = 'bar'");
|
H A D | bug_64172.phpt | 23 $db->query('SELECT * FROM bad_table'); 30 $stmt = $db->query('SELECT * FROM test'); 52 Warning: PDO::query(): SQLSTATE[%s]: %s
|
H A D | pdo_012.phpt | 23 $stmt = $db->query($SELECT, PDO::FETCH_NUM); 36 $stmt = $db->query($SELECT, PDO::FETCH_CLASS, 'Test'); 41 $stmt = $db->query($SELECT, PDO::FETCH_NUM);
|
H A D | pdo_033.phpt | 25 $db->query("CREATE TABLE test (t char($len))"); 26 $db->query("INSERT INTO test (t) VALUES($quoted)");
|
H A D | pdo_026.phpt | 45 function query($sql) 68 $stmt = $db->query('SELECT * FROM test'); 81 PDODatabase::query()
|
/PHP-7.0/ext/pdo_sqlite/tests/ |
H A D | bug44327_2.phpt | 12 $x = $db->query('select 1 as queryString'); 20 $x = $db->query('select 1 as queryString');
|
/PHP-7.0/ext/sqlite3/tests/ |
H A D | bug63921-32bit.phpt | 12 $conn->query('CREATE TABLE users (id INTEGER NOT NULL, num INTEGER NOT NULL, PRIMARY KEY(id))'); 19 $stmt = $conn->query('SELECT num FROM users');
|
H A D | bug63921-64bit.phpt | 12 $conn->query('CREATE TABLE users (id INTEGER NOT NULL, num INTEGER NOT NULL, PRIMARY KEY(id))'); 19 $stmt = $conn->query('SELECT num FROM users');
|
H A D | sqlite3_13_skip_all_cleanup.phpt | 2 SQLite3::query Skip all cleanup 19 $results = $db->query("SELECT * FROM test ORDER BY id ASC");
|
H A D | sqlite3_36_create_collation.phpt | 20 $defaultSort = $db->query('SELECT s FROM t ORDER BY s'); //memcmp() sort 21 $naturalSort = $db->query('SELECT s FROM t ORDER BY s COLLATE NAT'); //strnatcmp() sort
|
/PHP-7.0/ext/pdo_mysql/tests/ |
H A D | bug46292.phpt | 39 $pdoDb->query('DROP TABLE IF EXISTS testz'); 41 $pdoDb->query('CREATE TABLE testz (name VARCHAR(20) NOT NULL, value INT)'); 43 …$pdoDb->query("INSERT INTO testz VALUES ('myclass', 1), ('myclass2', 2), ('myclass', NULL), ('mycl…
|
H A D | bug53782.phpt | 18 $res = $conn->query('SELECT 0'); 21 $conn->query('ERROR');
|
H A D | pdo_mysql_stmt_fetchobject.phpt | 11 $query = "SELECT '', NULL, \"\" FROM DUAL"; 12 $stmt = $db->prepare($query); 28 $query = "SELECT id, '', NULL, \"\" FROM test ORDER BY id ASC LIMIT 3"; 29 $stmt = $db->prepare($query);
|
/PHP-7.0/ext/pdo_dblib/tests/ |
H A D | stringify_uniqueidentifier.phpt | 31 $stmt = $db->query($sql); 41 $stmt = $db->query($sql); 55 $stmt = $db->query($sql);
|
/PHP-7.0/ext/mysqli/tests/ |
H A D | bug42548.phpt | 26 $mysqli->query("DROP PROCEDURE IF EXISTS p1") or die($mysqli->error); 27 $mysqli->query("CREATE PROCEDURE p1() BEGIN SELECT 23; SELECT 42; END") or die($mysqli->error); 49 $mysqli->query("DROP PROCEDURE p1") or die($mysqli->error);
|
H A D | bug72489.phpt | 16 if (!$link->query("DROP TABLE IF EXISTS bug72489")) { 20 if (!$link->query("CREATE TABLE bug72489 (id INT(6) UNSIGNED AUTO_INCREMENT PRIMARY KEY, code VARCH… 25 if (!$link->query($seedSQL)) {
|
H A D | mysqli_connect_oo_defaults.phpt | 34 if (!$res = $mysqli->query("SELECT 'mysqli.default_socket' AS testing")) 57 if (!$res = $mysqli->query("SELECT 'mysqli.default_port' AS testing")) 75 if (!$res = $mysqli->query("SELECT 'mysqli.default_pw' AS testing")) 93 if (!$res = $mysqli->query("SELECT 'mysqli.default_user' AS testing")) 111 if (!$res = $mysqli->query("SELECT 1")) 115 if (!$res = $mysqli->query("SELECT SUBSTRING_INDEX(USER(),'@',1) AS username"))
|
H A D | bug54221.phpt | 24 $query = "$create;$create;$create;"; 25 if ($link->multi_query($query)) {
|
H A D | mysqli_fetch_all_oo.phpt | 26 if (!$res = $mysqli->query("SELECT * FROM test ORDER BY id LIMIT 2")) { 34 if (!$res = $mysqli->query("SELECT * FROM test ORDER BY id LIMIT 2")) { 42 if (!$res = $mysqli->query("SELECT * FROM test ORDER BY id LIMIT 2")) { 50 if (!$res = $mysqli->query("SELECT * FROM test ORDER BY id LIMIT 2")) { 61 if (!$res = $mysqli->query("SELECT * FROM test ORDER BY id LIMIT 2")) { 72 printf("[010] Cannot run query, [%d] %s\n", $mysqli->errno, $$mysqli->error); 78 if (!$res = $mysqli->query("SELECT 1 AS a, 2 AS b, 3 AS c, 4 AS C")) { 79 printf("[018] Cannot run query, [%d] %s\n", 97 if (!$link->query("DROP TABLE IF EXISTS test")) { 108 if (!$link->query($sql = sprintf("INSERT INTO test(id, label) VALUES (1, NULL)"))) { [all …]
|
H A D | mysqli_insert_id_variation.phpt | 16 $link->query("DROP TABLE IF EXISTS test_insert_id_var"); 17 $link->query("CREATE TABLE test_insert_id_var (id INT auto_increment, PRIMARY KEY (id))"); 18 $link->query("INSERT INTO test_insert_id_var VALUES (null)"); 87 $link->query("DROP TABLE IF EXISTS test_insert_id_var");
|
H A D | mysqli_reap_async_query.phpt | 57 … printf("[%03d + 4] Cannot fetch and no error set - non resultset query (no SELECT)!\n", $offset); 71 // Connections on which no query has been send - 1 73 $link->query("SELECT 1 AS _one", MYSQLI_ASYNC | MYSQLI_STORE_RESULT); 81 $link->query("SELECT 2 AS _two", MYSQLI_ASYNC | MYSQLI_USE_RESULT);
|
/PHP-7.0/ext/pdo_pgsql/tests/ |
H A D | bug67462.phpt | 20 $pdo->query("CREATE TABLE b67462 (a int NOT NULL PRIMARY KEY DEFERRABLE INITIALLY DEFERRED)"); 21 $pdo->query("INSERT INTO b67462 VALUES (1), (1)");
|
H A D | bug72633.phpt | 19 $db->query('CREATE TABLE test_last_id (id SERIAL NOT NULL, field1 VARCHAR(10))'); 34 $db->query('DROP TABLE test_last_id');
|
H A D | bug69362.phpt | 51 $pdo->query($sql); 53 $result = $testConn->query($testQuery)->fetch(); 58 $pdo->query($dropUser);
|
/PHP-7.0/sapi/fpm/tests/ |
H A D | include.inc | 108 function run_request($host, $port, $uri='/ping', $query='', $headers=array()) { /* {{{ */ 116 'QUERY_STRING' => $query, 117 'REQUEST_URI' => $uri . ($query ? '?'.$query : ""),
|