/PHP-5.5/ext/pdo_pgsql/tests/ |
H A D | bug62479.phpt | 51 $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 D | bug46274.phpt | 18 @$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 D | bug46274_2.phpt | 18 @$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 D | lob_018.phpt | 43 $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 D | bug37220.phpt | 26 $query = "UPDATE bug37220_tab 29 $stmt = oci_parse ($c, $query); 39 $query = "select * from bug37220_tab"; 40 $stmt = oci_parse ($c, $query);
|
H A D | fetch_all4.phpt | 2 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 D | bug33491.phpt | 15 public function query_single($query) { 16 $result = parent::query($query);
|
H A D | mysqli_stmt_datatype_change.phpt | 23 $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 D | bug36745.phpt | 15 $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 D | 048.phpt | 16 $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 D | 066.phpt | 18 $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 D | bug66141.phpt | 2 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 D | pdo_mysql_fetch_both.phpt | 15 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 D | pdo_mysql_errorcode.phpt | 30 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 D | last_insert_id.phpt | 15 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 D | bug57702.phpt | 18 $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 D | sqlite3_enable_exceptions.phpt | 14 $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 D | bug46139.phpt | 20 $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 D | pdo_034.phpt | 23 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 D | README | 58 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 D | mysqli_report.c | 57 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 D | url.c | 54 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 D | parse_url_basic_001.phpt | 224 ["query"]=> 338 ["query"]=> 349 ["query"]=> 362 ["query"]=> 375 ["query"]=> 386 ["query"]=> 399 ["query"]=> 410 ["query"]=> 423 ["query"]=> 434 ["query"]=> [all …]
|
H A D | bug68917.phpt | 14 [query] => a=b 21 [query] => a=b
|
/PHP-5.5/ext/opcache/tests/ |
H A D | issue0057.phpt | 15 function dummy($query) { 17 switch ($query) {
|