Home
last modified time | relevance | path

Searched refs:query (Results 201 – 225 of 599) sorted by relevance

12345678910>>...24

/php-src/ext/mysqli/tests/
H A Dbug52891.phpt17 if (!$link->query("DROP TABLE IF EXISTS tuint") ||
18 !$link->query("DROP TABLE IF EXISTS tsint")) {
22 if (!$link->query("CREATE TABLE tuint(a BIGINT UNSIGNED) ENGINE=" . $engine) ||
23 !$link->query("CREATE TABLE tsint(a BIGINT) ENGINE=" . $engine)) {
82 $result = $link->query("SELECT * FROM tsint ORDER BY a ASC");
83 $result2 = $link->query("SELECT * FROM tuint ORDER BY a ASC");
H A Dbug34810.phpt24 $mysql->query("DROP TABLE IF EXISTS test_warnings");
25 $mysql->query("CREATE TABLE test_warnings (a int not null)");
26 $mysql->query("SET sql_mode=''");
27 $mysql->query("INSERT INTO test_warnings VALUES (1),(2),(NULL)");
H A Dbug55283.phpt22 if ($res = $link->query('SHOW VARIABLES LIKE "have_ssl"')) {
25 if ($link->errno == 1064 && ($res = $link->query("SHOW VARIABLES"))) {
52 $r = $link->query("SHOW STATUS LIKE 'Ssl_cipher'");
60 $r2 = $link2->query("SHOW STATUS LIKE 'Ssl_cipher'");
H A Dmysqli_poll_mixing_insert_select.phpt47 foreach ($queries as $query) {
51 if (true !== ($tmp = mysqli_query($link, $query, MYSQLI_ASYNC | MYSQLI_USE_RESULT)))
60 'query' => $query,
115 $links[$thread_id]['query'], $saved_errors[$thread_id]);
117 printf("[004] Error state not saved for query '%s', %d != %d\n", $link['query'],
H A Dbug42548.phpt26 $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 Dmysqli_change_user_oo.phpt32 if (!$mysqli->query('SET @mysqli_change_user_test_var=1'))
35 if (!$res = $mysqli->query('SELECT @mysqli_change_user_test_var AS test_var'))
45 if (!$res = $mysqli->query('SELECT database() AS dbname, user() AS user'))
55 if (!$res = $mysqli->query('SELECT @mysqli_change_user_test_var AS test_var'))
H A Dmysqli_insert_packet_overflow.phpt78 $query = sprintf("%s%s%s", $query_prefix, $blob, $query_postfix);
80 if (!mysqli_query($link, $query))
81 …printf("[014] max_allowed_packet = %d, strlen(query) = %d, [%d] %s\n", $max_allowed_packet, strlen…
109 $link->query('DROP TABLE test__mysqli_insert_packet_overflow');
/php-src/ext/sqlite3/tests/
H A Dbug69972.phpt9 $result = $db->query("SELECT * FROM non_existent_table");
21 Warning: SQLite3::query(): Unable to prepare statement: no such table: non_existent_table in %sbug6…
/php-src/ext/dom/tests/
H A Dbug36756.phpt12 $node = $xpath->query('/root')->item(0);
19 $node = $xpath->query('//child')->item(0);
H A Dxpath_domnamespacenode.phpt2 DOMXPath::query() can return DOMNodeList with DOMNameSpaceNode items
15 $nodes = $xpath->query('//namespace::*');
/php-src/ext/pdo_dblib/tests/
H A Ddatetime_convert.phpt20 $stmt = $db->query($sql);
26 $stmt = $db->query($sql);
H A Ddatetime2.phpt21 $stmt = $db->query($sql);
26 $stmt = $db->query($sql);
H A Dbatch_stmt_ins_exec.phpt17 $db->query("create table #test_batch_stmt_ins_exec(id int); ");
18 $db->query(
27 $stmt = $db->query(
/php-src/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 test030');
115 PDODatabase::query()
H A Dbug_34687.phpt2 PDO Common: Bug #34687 (query doesn't return error information)
19 $x = $db->query("UPDATE non_existent_pdo_test_table set foo = 'bar'");
H A Dbug_79106.phpt15 if (@$db->query('SELECT 1 as "1"') === false) {
25 $stmt = $db->query('SELECT 0 as "2007", 0 as "2008", 0 as "2020"');
H A Dbug_79106_collision.phpt15 if (@$db->query('SELECT 1 as "1"') === false) {
25 $stmt = $db->query('SELECT 11111 as "1", 22222 as "2"');
/php-src/ext/mysqli/
H A Dmysqli.stub.php803 public function execute_query(string $query, ?array $params = null): mysqli_result|bool {}
848 public function multi_query(string $query): bool {}
879 public function prepare(string $query): mysqli_stmt|false {}
885 …public function query(string $query, int $result_mode = MYSQLI_STORE_RESULT): mysqli_result|bool {}
923 public function real_query(string $query): bool {}
1196 public function __construct(mysqli $mysql, ?string $query = null) {}
1298 public function prepare(string $query): bool {}
1498 function mysqli_multi_query(mysqli $mysql, string $query): bool {}
1522 function mysqli_prepare(mysqli $mysql, string $query): mysqli_stmt|false {}
1547 function mysqli_real_query(mysqli $mysql, string $query): bool {}
[all …]
/php-src/ext/pdo_sqlite/tests/
H A Dbug_63916-2.phpt13 $conn->query('CREATE TABLE users (id INTEGER NOT NULL, num INTEGER NOT NULL, PRIMARY KEY(id))');
20 $stmt = $conn->query('SELECT num FROM users');
H A Dbug_63916.phpt13 $conn->query('CREATE TABLE users (id INTEGER NOT NULL, num INTEGER NOT NULL, PRIMARY KEY(id))');
20 $stmt = $conn->query('SELECT num FROM users');
/php-src/sapi/fpm/tests/
H A Dbug64539-status-json-encoding.phpt32 ['query' => 'a=b"c'],
33 ['uri' => '/status', 'query' => 'full&json', 'delay' => 100000],
/php-src/ext/pdo_firebird/tests/
H A Dbug_76450.phpt22 $query = $dbh->prepare($sql);
24 $query->execute();
/php-src/ext/pdo_mysql/tests/
H A Dbug80808.phpt19 var_dump($pdo->query('SELECT * FROM test_80808')->fetchColumn(0));
21 var_dump($pdo->query('SELECT * FROM test_80808')->fetchColumn(0));
H A Dgh11587.phpt36 $results = $db->query('SELECT * FROM test_11587');
46 $results = $db->query('SELECT * FROM test_11587');
56 $results = $db->query('SELECT * FROM test_11587');
66 $results = $db->query('SELECT * FROM test_11587');
H A Dpdo_mysql_stmt_multiquery.phpt2 PDOStatements and multi query
19 …$stmt = $db->query("SELECT label FROM {$table} ORDER BY id ASC LIMIT 1; SELECT label FROM {$table}…
28 …$stmt = $db->query("SELECT label FROM {$table} ORDER BY id ASC LIMIT 1; SELECT label FROM {$table}…
104 Warning: PDO::query(): SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in…

Completed in 26 milliseconds

12345678910>>...24