Home
last modified time | relevance | path

Searched refs:query (Results 76 – 100 of 469) sorted by relevance

12345678910>>...19

/PHP-7.4/ext/pdo_mysql/tests/
H A Dpdo_mysql_fetch_both.phpt15 function fetch($offset, &$db, $query, $expect = null) {
18 $stmt = $db->query('SELECT 1');
21 $stmt = $db->query('SELECT 1');
24 $stmt = $db->query('SELECT 1');
H A Dbug66141.phpt2 Bug #66141 (mysqlnd quote function is wrong with NO_BACKSLASH_ESCAPES after failed query)
18 $db->query('set session sql_mode="NO_BACKSLASH_ESCAPES"');
24 $db->query('something that throws an exception');
34 Warning: PDO::query(): SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in…
H A Dlast_insert_id.phpt15 print_r($db->query("CREATE TABLE test (id int auto_increment primary key, num int)"));
17 print_r($db->query("INSERT INTO test (id, num) VALUES (23, 42)"));
19 print_r($db->query("INSERT INTO test (num) VALUES (451)"));
H A Dpdo_mysql_errorcode.phpt30 or PDO->query() and invoke an error on the statement handle,
38 $stmt = $db->query('SELECT id, label FROM test');
50 @$stmt = $db->query('SELECT id, label FROM unknown');
54 $stmt = $db->query('SELECT id, label FROM test');
59 @$db->query('SELECT id, label FROM unknown');
H A Dpdo_mysql_connect_attr.phpt12 $stmt = $pdo->query("select count(*) from information_schema.tables where table_schema='performance…
17 $stmt = $pdo->query("show variables like 'performance_schema'");
35 …$stmt = $pdo->query("select * from performance_schema.session_connect_attrs where ATTR_NAME='_serv…
46 $stmt = $pdo->query("select * from performance_schema.session_connect_attrs where ATTR_NAME='_clien…
/PHP-7.4/ext/pdo_pgsql/
H A Dpgsql_driver.c543 char *query; in PHP_METHOD() local
578 efree(query); in PHP_METHOD()
579 query = NULL; in PHP_METHOD()
617 if (query) { in PHP_METHOD()
618 efree(query); in PHP_METHOD()
655 char *query; in PHP_METHOD() local
692 efree(query); in PHP_METHOD()
754 char *query; in PHP_METHOD() local
791 efree(query); in PHP_METHOD()
849 char *query; in PHP_METHOD() local
[all …]
/PHP-7.4/ext/phar/tests/files/
H A Dpear2coverage.phar1069 $result = $this->db->query($query);
1086 $result = $this->db->query($query);
1117 $result = $this->db->query($query);
1136 $result = $this->db->query($query);
1166 $result = $this->db->query($query);
1179 $result = $this->db->query($query);
1212 $result = $this->db->query($query);
1227 $result = $this->db->query($query);
1248 $result = $this->db->query($query);
1389 $result = $this->db->query($query);
[all …]
/PHP-7.4/ext/mysqli/tests/
H A Dbug33491.phpt15 public function query_single($query) {
16 $result = parent::query($query);
H A Dmysqli_stmt_datatype_change.phpt23 $c1->query("use $db");
24 $c2->query("use $db");
25 $c1->query("drop table if exists type_change");
26 $c1->query("create table type_change(a int, b char(10)) ENGINE = " . $engine);
27 $c1->query("insert into type_change values (1, 'one'), (2, 'two')");
41 var_dump($c2->query("alter table type_change drop a"));
H A Dbug68077.phpt33 if (!$link->query("DROP TABLE IF EXISTS test")) {
37 …if (!$link->query("CREATE TABLE test (dump1 INT UNSIGNED NOT NULL PRIMARY KEY) ENGINE=" . $engine)…
44 if (!$link->query("SELECT 1 FROM DUAL"))
47 …if (!$link->query("LOAD DATA LOCAL INFILE '" . str_replace("\\", "/", __DIR__) . "/bug53503.data'…
55 if (!$link->query("LOAD DATA LOCAL INFILE '" . __DIR__ . "/bug53503.data' INTO TABLE test")) {
72 if (!$link->query($link, 'DROP TABLE IF EXISTS test')) {
H A Dbug74595.phpt10 $method = $class->getMethod('query');
18 string(5) "query"
H A Dbug80837.phpt16 $mysqli->query('DROP TABLE IF EXISTS test');
17 $mysqli->query('CREATE TABLE test (b int)');
18 $mysqli->query('INSERT INTO test VALUES (1),(2),(3)');
H A Dbug36745.phpt17 $mysql->query("DROP TABLE IF EXISTS litest");
18 $mysql->query("CREATE TABLE litest (a VARCHAR(20))");
20 $mysql->query("LOAD DATA LOCAL INFILE 'filenotfound' INTO TABLE litest");
/PHP-7.4/ext/pdo_sqlite/tests/
H A Dpdo_sqlite_tostring_exception.phpt37 $query = $db->query("SELECT * FROM t");
38 while ($row = $query->fetch(PDO::FETCH_ASSOC)) {
H A Dbug46139.phpt20 $stmt = $db->query("SELECT 'foo' test, 1");
25 $stmt = $db->query("SELECT 'foo' test, 1");
30 $stmt = $db->query("SELECT 'foo' test, 1");
/PHP-7.4/ext/pdo_oci/tests/
H A Dbug57702.phpt18 $query = "begin execute immediate 'drop table bug57702'; exception when others then if sqlcode <> -…
19 $stmt = $db->prepare($query);
22 $query = "create table bug57702 (id number, data1 blob, data2 blob)";
23 $stmt = $db->prepare($query);
65 foreach($db->query("select data1 as d1, data2 as d2 from bug57702 order by id") as $row) {
91 foreach($db->query("select data1 as d4_1, data2 as d4_2 from bug57702 order by id") as $row) {
114 foreach($db->query("select data1 as d4_1, data2 as d4_2 from bug57702 order by id") as $row) {
133 foreach($db->query("select data1 as d4_1, data2 as d4_2 from bug57702 order by id") as $row) {
142 $query = "drop table bug57702";
143 $stmt = $db->prepare($query);
/PHP-7.4/ext/mysqli/
H A Dmysqli_report.c55 void php_mysqli_report_index(const char *query, unsigned int status) { in php_mysqli_report_index() argument
65 php_mysqli_throw_sql_exception("00000", 0, "%s used in query/prepared statement %s", index, query); in php_mysqli_report_index()
/PHP-7.4/ext/dom/tests/
H A Dbug75451.phpt2 Bug #75451 (Assertion fails while foreach on empty xpath query)
12 foreach($xpath->query('/root/noexist') as $child) {
H A Dbug69373.phpt2 Bug #69373 References to deleted XPath query results
11 $all = $xpath->query('//*');
/PHP-7.4/ext/soap/tests/
H A Dbug80672.phpt9 $query = $soap->query(array('sXML' => 'something'));
/PHP-7.4/ext/sqlite3/tests/
H A Dsqlite3_enable_exceptions.phpt14 $db->query("SELECT * FROM non_existent_table");
19 $db->query("SELECT * FROM non_existent_table");
30 Warning: SQLite3::query(): no such table: non_existent_table in %s on line %d
/PHP-7.4/ext/oci8/tests/
H A Dbug37220.phpt26 $query = "UPDATE bug37220_tab
29 $stmt = oci_parse ($c, $query);
39 $query = "select * from bug37220_tab";
40 $stmt = oci_parse ($c, $query);
/PHP-7.4/ext/pdo/tests/
H A Dbug_69356.phpt2 PDO Common: Bug #69356 (PDOStatement::debugDumpParams() truncates query)
18 $stmt = $db->query("
20query in use, the number of parameters used (Params), the list of parameters, with their name, typ…
32query in use, the number of parameters used (Params), the list of parameters, with their name, typ…
H A Dpdo_034.phpt23 var_dump($db->query("SELECT a,b FROM test")->fetch(PDO::FETCH_KEY_PAIR));
24 var_dump($db->query("SELECT a,b FROM test")->fetchAll(PDO::FETCH_KEY_PAIR));
25 var_dump($db->query("SELECT * FROM test")->fetch(PDO::FETCH_KEY_PAIR));
26 var_dump($db->query("SELECT a,a FROM test")->fetchAll(PDO::FETCH_KEY_PAIR));
/PHP-7.4/ext/pdo_pgsql/tests/
H A Dbug46274.phpt18 @$db->query("SET bytea_output = 'escape'");
22 $db->query('CREATE TABLE test_one_blob (id SERIAL NOT NULL, blob1 BYTEA)');
50 $res = $db->query("SELECT blob1 from test_one_blob");
63 $db->query('DROP TABLE test_one_blob');

Completed in 33 milliseconds

12345678910>>...19