/PHP-5.4/ext/pdo_mysql/tests/ |
H A D | bug_pecl_7976.phpt | 11 $row = $db->query('SELECT VERSION() as _version')->fetch(PDO::FETCH_ASSOC); 31 $stmt = $db->query('CALL p()'); 35 $stmt = $db->query('CALL p()');
|
H A D | pdo_mysql_last_insert_id.phpt | 17 printf("[001] No query has been run, lastInsertId() should return '0'/string got '%s'/%s\n", 32 $stmt = $db->query('SELECT id FROM test LIMIT 1'); 62 $stmt = $db->query('SELECT LAST_INSERT_ID() as _last_id'); 83 $stmt = $db->query('SELECT @@auto_increment_increment AS inc'); 90 $stmt = $db->query('SELECT LAST_INSERT_ID() as _last_id');
|
H A D | pdo_mysql_connect_charset.phpt | 15 $charset = $link->query("SHOW VARIABLES LIKE 'character_set_connection'")->fetchObject()->value; 24 …$conn_charset = $link->query("SHOW VARIABLES LIKE 'character_set_connection'")->fetchObject()->va…
|
H A D | pdo_mysql_stmt_fetch_non_select.phpt | 22 if (!is_object($stmt = $db->query('DESCRIBE test id'))) 39 if (!is_object($stmt = $db->query('SHOW ENGINES'))) 57 if (!is_object($stmt = $db->query("EXPLAIN SELECT id FROM test"))) 78 if (!is_object($stmt = $db->query('DESCRIBE test id'))) 112 if (!is_object($stmt = $db->query('SHOW ENGINES'))) 145 if (!is_object($stmt = $db->query("EXPLAIN SELECT id FROM test")))
|
H A D | bug_44707.phpt | 12 $stmt = $db->query('SELECT VERSION() as _version'); 48 $stmt = $db->query('SELECT * FROM test'); 57 $stmt = $db->query('SELECT * FROM test');
|
/PHP-5.4/ext/pdo/tests/ |
H A D | pdo_029.phpt | 51 function query($sql) 76 $stmt = $db->query('SELECT * FROM test'); 93 PDODatabase::query()
|
H A D | bug_44861.phpt | 37 $query = "SELECT 'row1' AS r $from UNION SELECT 'row2' $from UNION SELECT 'row3' $from UNION SELECT… 40 $res = $db->prepare($query, $aParams); 56 // Test binding params via emulated prepared query
|
/PHP-5.4/ext/sqlite3/tests/ |
H A D | sqlite3_03_insert.phpt | 2 SQLite3::query INSERT tests 19 $results = $db->query("SELECT * FROM test ORDER BY id ASC");
|
H A D | sqlite3stmt_paramCount_error.phpt | 18 $query = "SELECT * FROM foobar WHERE id = ? ORDER BY id ASC"; 22 $stmt = $db->prepare($query);
|
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-5.4/ext/mysqli/tests/ |
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 | bug34810.phpt | 23 $mysql->query("DROP TABLE IF EXISTS test_warnings"); 24 $mysql->query("CREATE TABLE test_warnings (a int not null)"); 25 $mysql->query("SET sql_mode=''"); 26 $mysql->query("INSERT INTO test_warnings VALUES (1),(2),(NULL)");
|
H A D | mysqli_insert_packet_overflow.phpt | 84 $query = sprintf("%s%s%s", $query_prefix, $blob, $query_postfix); 86 if (!mysqli_query($link, $query)) 87 …printf("[013] max_allowed_packet = %d, strlen(query) = %d, [%d] %s\n", $max_allowed_packet, strlen…
|
H A D | mysqli_fetch_assoc_oo.phpt | 30 if (!$res = $mysqli->query("SELECT id, label FROM test ORDER BY id LIMIT 1")) { 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("[007] Cannot run query, [%d] %s\n", $mysqli->errno, $mysqli->error);
|
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", 73 if (!$mysqli->query("DROP TABLE IF EXISTS test")) { 78 …if (!$mysqli->query($sql = sprintf("CREATE TABLE test(id INT NOT NULL, label %s, PRIMARY KEY(id)) … 84 if (!$mysqli->query($sql = sprintf("INSERT INTO test(id, label) VALUES (1, NULL)"))) { 90 if (!$mysqli->query($sql = "INSERT INTO test(id, label) VALUES (1, '" . $sql_value . "')")) { 95 … if (!$mysqli->query($sql = sprintf("INSERT INTO test(id, label) VALUES (1, '%d')", $sql_value))) { [all …]
|
H A D | mysqli_change_user_oo.phpt | 51 if (!$mysqli->query('SET @mysqli_change_user_test_var=1')) 54 if (!$res = $mysqli->query('SELECT @mysqli_change_user_test_var AS test_var')) 64 if (!$res = $mysqli->query('SELECT database() AS dbname, user() AS user')) 74 if (!$res = $mysqli->query('SELECT @mysqli_change_user_test_var AS test_var'))
|
H A D | bug48909.phpt | 16 if (!$link->query("DROP TABLE IF EXISTS test") || 17 !$link->query(sprintf("CREATE TABLE test(id INT, label varchar(255)) ENGINE = %s", $engine)))
|
/PHP-5.4/ext/pdo_firebird/tests/ |
H A D | bug_47415.phpt | 19 $query = "SELECT idx, txt FROM testz ORDER by idx"; 21 $stmt = $dbh->prepare($query);
|
H A D | bug_48877.phpt | 20 $query = "SELECT * FROM testz WHERE A = :paramno"; 22 $stmt = $dbh->prepare($query);
|
H A D | bug_64037.phpt | 22 $query = "SELECT * from price order by ID"; 23 $stmt = $dbh->prepare($query);
|
H A D | rowCount.phpt | 20 $query = "SELECT * FROM testz WHERE A = ?"; 22 $stmt = $dbh->prepare($query);
|
/PHP-5.4/ext/phar/tests/ |
H A D | create_path_error.phpt | 17 file_put_contents($pname . '/a.php?', "query"); 18 file_put_contents($pname . '/b.php?bla', "query"); 68 string(5) "query" 69 string(5) "query"
|
/PHP-5.4/ext/oci8/tests/ |
H A D | oci_execute_segfault.phpt | 31 $query = 'SELECT blob, DBMS_LOB.GETLENGTH(blob) FROM '.$schema.$table_name.' ORDER BY 2'; 33 $s = oci_parse ($c, $query);
|
/PHP-5.4/ext/pdo_pgsql/tests/ |
H A D | copy_from.phpt | 45 $stmt = $db->query("select * from test"); 54 $stmt = $db->query("select * from test"); 63 $stmt = $db->query("select * from test"); 79 $stmt = $db->query("select * from test"); 88 $stmt = $db->query("select * from test"); 97 $stmt = $db->query("select * from test");
|
/PHP-5.4/ext/mysql/tests/ |
H A D | mysql_pconn_kill.phpt | 72 …printf("[010] Cannot run query on new persistent connection, [%d] %s\n", @mysql_errno($plink), @my… 78 …printf("[011] Cannot run query on new persistent connection, [%d] %s\n", @mysql_errno($plink), @my… 93 …printf("[015] Cannot run query on new regular connection, [%d] %s\n", @mysql_errno($link), @mysql_… 96 …printf("[016] Cannot run query on other regular connection, [%d] %s\n", @mysql_errno($link2), @mys…
|