Home
last modified time | relevance | path

Searched refs:query (Results 151 – 175 of 529) sorted by relevance

12345678910>>...22

/PHP-8.1/ext/mysqlnd/
H A Dmysqlnd_connection.c1023 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 Dpdo_mysql_pconnect.phpt25 $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 Dpdo_mysql_closecursor_error.phpt2 Error during closeCursor() of multi query
16 $stmt = $db->query('SELECT 1; SELECT x FROM does_not_exist');
H A Dbug_74376.phpt23 $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 Dpdo_mysql_inTransaction.phpt21 foreach (['exec', 'query', 'execute'] as $w) {
27 case'query':
28 $db->query($command)->execute();
62 // DDL query causes an implicit commit.
H A Dbug_61207.phpt2 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 Dpdo_mysql_subclass.phpt28 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 Dbug_38546.phpt25 $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 Dpdo_mysql_attr_fetch_table_names.phpt17 $stmt = $db->query('SELECT label FROM test LIMIT 1');
22 $stmt = $db->query('SELECT label FROM test LIMIT 1');
H A Dbug66878.phpt18 $stmt = $pdo->query($sql);
24 $stmt = $pdo->query($sql);
H A Dbug79872.phpt2 Bug #79872: Can't execute query with pending result sets
20 var_dump($db->query('SELECT @foo')->fetchAll());
H A Dbug80808.phpt21 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 Dmysqli_commit_oo.phpt43 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 Dbug51647.phpt23 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 Dbug73800.phpt17 $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 Dmysqli_reap_async_query.phpt47 … 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 Dmysqli_allow_local_infile_overrides_local_infile_directory.phpt31 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 Dsqlite3_16_select_no_results.phpt2 SQLite3::query SELECT with no results
15 $results = $db->query("SELECT * FROM test ORDER BY id ASC");
H A Dsqlite3_20_error.phpt11 $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 Dsqlite3_04_update.phpt2 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 Dbug_76450.phpt21 $query = $dbh->prepare($sql);
23 $query->execute();
/PHP-8.1/ext/dom/tests/
H A Dphp_function_edge_cases.phpt14 $xpath->query("//a[php:function(3)]");
19 $xpath->query("//a[php:function()]");
H A Dxpath_domnamespacenode.phpt2 DOMXPath::query() can return DOMNodeList with DOMNameSpaceNode items
15 $nodes = $xpath->query('//namespace::*');
/PHP-8.1/ext/pdo/tests/
H A Dpdo_030.phpt53 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 Ddatetime_convert.phpt17 $stmt = $db->query($sql);
23 $stmt = $db->query($sql);

Completed in 38 milliseconds

12345678910>>...22