Home
last modified time | relevance | path

Searched refs:query (Results 51 – 75 of 401) sorted by relevance

12345678910>>...17

/PHP-5.5/ext/pdo_pgsql/tests/
H A Dbug62479.phpt51 $pdo->query($sql);
53 $result = $testConn->query($testQuery)->fetch();
58 $pdo->query($dropUser);
62 $pdo->query($sql);
65 $result = $testConn->query($testQuery)->fetch();
70 $pdo->query($dropUser);
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');
H A Dbug46274_2.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");
66 $db->query('DROP TABLE test_one_blob');
/PHP-5.5/ext/oci8/tests/
H A Dlob_018.phpt43 $query = 'select * from lob_018_tab order by mykey asc';
44 $statement = oci_parse ($c, $query);
54 $query = 'select * from lob_018_tab order by mykey desc';
55 $statement = oci_parse ($c, $query);
74 $query = 'select * from lob_018_tab where mykey = 3';
75 $statement = oci_parse ($c, $query);
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);
H A Dfetch_all4.phpt2 Test oci_fetch_* array overwriting when query returns no rows
26 $res = array(1,2,3); // this array is replaced as a result of the query
35 $row = array(1,2,3); // this array is replaced as a result of the query
/PHP-5.5/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 Dbug36745.phpt15 $mysql->query("DROP TABLE IF EXISTS litest");
16 $mysql->query("CREATE TABLE litest (a VARCHAR(20))");
18 $mysql->query("LOAD DATA LOCAL INFILE 'filenotfound' INTO TABLE litest");
H A D048.phpt16 $mysql->query("DROP TABLE IF EXISTS test_fetch_null");
18 $mysql->query("CREATE TABLE test_fetch_null(col1 tinyint, col2 smallint,
26 …$mysql->query("INSERT INTO test_fetch_null(col1,col10, col11) VALUES(1,'foo1', 1000),(2,'foo2', 88…
39 $mysql->query("DROP TABLE IF EXISTS test_fetch_null");
H A D066.phpt18 $mysql->query("DROP TABLE IF EXISTS test_warnings");
20 $mysql->query("CREATE TABLE test_warnings (a int not null) ENGINE=myisam");
22 $mysql->query("INSERT INTO test_warnings VALUES (1),(2),(NULL)");
/PHP-5.5/ext/pdo_mysql/tests/
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 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 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 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)"));
/PHP-5.5/ext/pdo_oci/tests/
H A Dbug57702.phpt18 $query = "begin execute immediate 'drop table mytable'; exception when others then if sqlcode <> -9…
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) {
92 foreach($db->query("select data1 as d4_1, data2 as d4_2 from bug57702 order by id") as $row) {
115 foreach($db->query("select data1 as d4_1, data2 as d4_2 from bug57702 order by id") as $row) {
127 $query = "drop table bug57702";
128 $stmt = $db->prepare($query);
/PHP-5.5/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-5.5/ext/pdo_sqlite/tests/
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-5.5/ext/pdo/tests/
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-5.5/ext/pgsql/
H A DREADME58 Async query can improve application performance
74 send or execute query. If there is result left on connection,
75 pg_send_query() will block until last query is completed.
78 clean up query result if it is not needed.
87 bool pg_send_query(resource connection, string query)
89 Sends async query to backend. Result may be retrieved with
99 to server. It cannot cancel query executed by pg_exec(), since
105 Gets pgsql query result resource. Returned value can be fed to
108 retrieved or not. If multiple query is sent to backend, it may be
115 Returns connections is executing query or not.
[all …]
/PHP-5.5/ext/mysqli/
H A Dmysqli_report.c57 void php_mysqli_report_index(const char *query, unsigned int status TSRMLS_DC) { in php_mysqli_report_index() argument
67 …_throw_sql_exception("00000", 0 TSRMLS_CC, "%s used in query/prepared statement %s", index, query); in php_mysqli_report_index()
/PHP-5.5/ext/standard/
H A Durl.c54 if (theurl->query) in php_url_free()
55 efree(theurl->query); in php_url_free()
223 char *query, *fragment; in php_url_parse_ex() local
225 query = memchr(s, '?', (ue - s)); in php_url_parse_ex()
228 if (query && fragment) { in php_url_parse_ex()
229 if (query > fragment) { in php_url_parse_ex()
232 e = query; in php_url_parse_ex()
234 } else if (query) { in php_url_parse_ex()
235 e = query; in php_url_parse_ex()
412 if (resource->query != NULL) RETVAL_STRING(resource->query, 1); in PHP_FUNCTION()
[all …]
/PHP-5.5/ext/standard/tests/url/
H A Dparse_url_basic_001.phpt224 ["query"]=>
338 ["query"]=>
349 ["query"]=>
362 ["query"]=>
375 ["query"]=>
386 ["query"]=>
399 ["query"]=>
410 ["query"]=>
423 ["query"]=>
434 ["query"]=>
[all …]
H A Dbug68917.phpt14 [query] => a=b
21 [query] => a=b
/PHP-5.5/ext/opcache/tests/
H A Dissue0057.phpt15 function dummy($query) {
17 switch ($query) {

Completed in 34 milliseconds

12345678910>>...17