/PHP-8.1/ext/mysqlnd/ |
H A D | mysqlnd_connection.c | 1023 char * query; local 1782 char * query; local 1793 if (!query) { 1798 enum_func_status ret = conn->m->query(conn, query, query_len); 1832 char * query; local 1839 if (!query) { 1844 enum_func_status ret = conn->m->query(conn, query, query_len); 1867 char *query; local 1869 if (!query) { 1892 char *query; local [all …]
|
/PHP-8.1/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_pconnect.phpt | 25 $stmt = $db2->query('SELECT @pdo_persistent_connection as _pers'); 30 $stmt = $db1->query('SELECT CONNECTION_ID() as _con1'); 34 $stmt = $db2->query('SELECT CONNECTION_ID() as _con2'); 44 $stmt = $db1->query('SELECT CONNECTION_ID() as _con1'); 68 $stmt = $db1->query('SELECT CONNECTION_ID() as _con1'); 74 $stmt = $db2->query('SELECT CONNECTION_ID() as _con2');
|
H A D | pdo_mysql_closecursor_error.phpt | 2 Error during closeCursor() of multi query 16 $stmt = $db->query('SELECT 1; SELECT x FROM does_not_exist');
|
H A D | bug_74376.phpt | 23 $stmt = $db->query("select (select 1 union select 2)"); 29 Warning: PDO::query(): SQLSTATE[21000]: Cardinality violation: 1242 Subquery returns more than 1 ro…
|
H A D | pdo_mysql_inTransaction.phpt | 21 foreach (['exec', 'query', 'execute'] as $w) { 27 case'query': 28 $db->query($command)->execute(); 62 // DDL query causes an implicit commit.
|
H A D | bug_61207.phpt | 2 PDO MySQL Bug #61207 (PDO::nextRowset() after a multi-statement query doesn't always work) 17 $db->query('DROP TABLE IF EXISTS test'); 18 $db->query('create table `test`( `id` int )'); 85 $db->query("DROP TABLE test");
|
H A D | pdo_mysql_subclass.phpt | 28 public function query(...$args): PDOStatement|false { 30 return parent::query(...$args); 59 $stmt = $db->query('SELECT * FROM test ORDER BY id ASC'); 84 query('SELECT * FROM test ORDER BY id ASC')
|
H A D | bug_38546.phpt | 25 $query = "CREATE TABLE test( 31 $db->exec($query); 54 foreach ($db->query('SELECT * from test') as $row) { 80 foreach ($db->query('SELECT * from test') as $row) { 106 foreach ($db->query('SELECT * from test') as $row) { 133 foreach ($db->query('SELECT * from test') as $row) { 160 foreach ($db->query('SELECT * from test') as $row) { 187 foreach ($db->query('SELECT * from test') as $row) {
|
H A D | pdo_mysql_attr_fetch_table_names.phpt | 17 $stmt = $db->query('SELECT label FROM test LIMIT 1'); 22 $stmt = $db->query('SELECT label FROM test LIMIT 1');
|
H A D | bug66878.phpt | 18 $stmt = $pdo->query($sql); 24 $stmt = $pdo->query($sql);
|
H A D | bug79872.phpt | 2 Bug #79872: Can't execute query with pending result sets 20 var_dump($db->query('SELECT @foo')->fetchAll());
|
H A D | bug80808.phpt | 21 var_dump($pdo->query('SELECT * FROM test')->fetchColumn(0)); 23 var_dump($pdo->query('SELECT * FROM test')->fetchColumn(0));
|
/PHP-8.1/ext/mysqli/tests/ |
H A D | mysqli_commit_oo.phpt | 43 if (!$mysqli->query('DROP TABLE IF EXISTS test')) { 47 if (!$mysqli->query('CREATE TABLE test(id INT) ENGINE = InnoDB')) { 51 if (!$mysqli->query('INSERT INTO test(id) VALUES (1)')) { 60 if (!$mysqli->query('ROLLBACK')) 63 if (!$res = $mysqli->query('SELECT COUNT(*) AS num FROM test')) { 73 if (!$mysqli->query('DROP TABLE IF EXISTS test')) {
|
H A D | bug51647.phpt | 23 if ($res = $link->query('SHOW VARIABLES LIKE "have_ssl"')) { 26 if ($link->errno == 1064 && ($res = $link->query("SHOW VARIABLES"))) { 55 if (!$res = $link->query('SHOW STATUS like "Ssl_cipher"')) { 58 if ($res = $link->query("SHOW STATUS")) { 85 if (!$res = $link->query('SHOW STATUS like "Ssl_cipher"')) { 88 if ($res = $link->query("SHOW STATUS")) {
|
H A D | bug73800.phpt | 17 $link->query('SET @@global.max_allowed_packet = 67108864'); 23 $res = $link->query("SELECT RPAD('1',9000000,'1') as a,RPAD('1',9000000,'1') as b, 9223372036854775…
|
H A D | mysqli_reap_async_query.phpt | 47 … printf("[%03d + 4] Cannot fetch and no error set - non resultset query (no SELECT)!\n", $offset); 61 // Connections on which no query has been send - 1 63 $link->query("SELECT 1 AS _one", MYSQLI_ASYNC | MYSQLI_STORE_RESULT); 71 $link->query("SELECT 2 AS _two", MYSQLI_ASYNC | MYSQLI_USE_RESULT);
|
H A D | mysqli_allow_local_infile_overrides_local_infile_directory.phpt | 31 if (!$link->query("DROP TABLE IF EXISTS test")) { 35 if (!$link->query("CREATE TABLE test (id INT UNSIGNED NOT NULL PRIMARY KEY) ENGINE=" . $engine)) { 40 if (!$link->query("LOAD DATA LOCAL INFILE '".$filepath."' INTO TABLE test")) { 69 if (!$link->query($link, 'DROP TABLE IF EXISTS test')) {
|
/PHP-8.1/ext/sqlite3/tests/ |
H A D | sqlite3_16_select_no_results.phpt | 2 SQLite3::query SELECT with no results 15 $results = $db->query("SELECT * FROM test ORDER BY id ASC");
|
H A D | sqlite3_20_error.phpt | 11 $result = $db->query("SELECT * FROM non_existent_table"); 23 Warning: SQLite3::query(): Unable to prepare statement: 1, no such table: non_existent_table in %s …
|
H A D | sqlite3_04_update.phpt | 2 SQLite3::query UPDATE tests 19 $results = $db->query("SELECT * FROM test ORDER BY id ASC"); 30 $results = $db->query("SELECT * FROM test ORDER BY id ASC");
|
/PHP-8.1/ext/pdo_firebird/tests/ |
H A D | bug_76450.phpt | 21 $query = $dbh->prepare($sql); 23 $query->execute();
|
/PHP-8.1/ext/dom/tests/ |
H A D | php_function_edge_cases.phpt | 14 $xpath->query("//a[php:function(3)]"); 19 $xpath->query("//a[php:function()]");
|
H A D | xpath_domnamespacenode.phpt | 2 DOMXPath::query() can return DOMNodeList with DOMNameSpaceNode items 15 $nodes = $xpath->query('//namespace::*');
|
/PHP-8.1/ext/pdo/tests/ |
H A D | pdo_030.phpt | 53 function query($sql, ...$rest): PDOStatement|false 56 return parent::query($sql); 78 $stmt = $db->query('SELECT * FROM test'); 109 PDODatabase::query()
|
/PHP-8.1/ext/pdo_dblib/tests/ |
H A D | datetime_convert.phpt | 17 $stmt = $db->query($sql); 23 $stmt = $db->query($sql);
|