Home
last modified time | relevance | path

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

12345678910>>...18

/PHP-7.0/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');
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');
H A Dbug70861.phpt18 @$db->query("SET bytea_output = 'escape'");
22 $db->query('DROP TABLE IF EXISTS test_blob_crash CASCADE');
23 $db->query('CREATE TABLE test_blob_crash (id SERIAL NOT NULL, blob1 BYTEA)');
/PHP-7.0/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-7.0/ext/mysqli/tests/
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 Dbug_bits.phpt16 if (!$link->query("DROP TABLE IF EXISTS bug_bits")) {
20 if (!$link->query("CREATE TABLE `bug_bits` (`inty` bigint(20) unsigned NOT NULL DEFAULT '0', `bitty…
31 if (!$link->query($insertQuery)) {
35 if (!($res = $link->query("SELECT * FROM `bug_bits`"))) {
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)");
H A D074.phpt16 $result = $mysqli->query("SELECT @@autocommit");
20 $result = $mysqli->query("SELECT @@autocommit");
H A Dbug51647.phpt16 if ($res = $link->query('SHOW VARIABLES LIKE "have_ssl"')) {
19 if ($link->errno == 1064 && ($res = $link->query("SHOW VARIABLES"))) {
48 if (!$res = $link->query('SHOW STATUS like "Ssl_cipher"')) {
51 if ($res = $link->query("SHOW STATUS")) {
78 if (!$res = $link->query('SHOW STATUS like "Ssl_cipher"')) {
81 if ($res = $link->query("SHOW STATUS")) {
H A Dbug70949.phpt17 $mysql->query("DROP TABLE IF EXISTS bug70949");
18 $mysql->query("CREATE TABLE bug70949(name varchar(255))");
19 $mysql->query("INSERT INTO bug70949 VALUES ('dummy'),(NULL),('foo'),('bar')");
H A Dbug55283.phpt16 if ($res = $link->query('SHOW VARIABLES LIKE "have_ssl"')) {
19 if ($link->errno == 1064 && ($res = $link->query("SHOW VARIABLES"))) {
48 $r = $link->query("SHOW STATUS LIKE 'Ssl_cipher'");
56 $r2 = $link2->query("SHOW STATUS LIKE 'Ssl_cipher'");
H A Dbug73800.phpt15 $link->query('SET @@global.max_allowed_packet = 67108864');
21 $res = $link->query("SELECT RPAD('1',9000000,'1') as a,RPAD('1',9000000,'1') as b, 9223372036854775…
H A Dbug74021.phpt14 $link->query('SET @@global.max_allowed_packet = 67108864');
18 $res = $link->query("SELECT RPAD('1',9000000,'1') as a,RPAD('1',9000000,'1') as b");
H A Dbug35759.phpt15 $mysql->query("DROP TABLE IF EXISTS test");
23 if (!$mysql->query($create)) {
32 if (!$mysql->query("INSERT INTO test (a0) VALUES ('')"))
H A Dmysqli_errno_oo.phpt26 if (!$mysqli->query('DROP TABLE IF EXISTS test')) {
30 $mysqli->query('SELECT * FROM test');
33 @$mysqli->query('No SQL');
H A Dmysqli_commit_oo.phpt41 if (!$mysqli->query('DROP TABLE IF EXISTS test')) {
45 if (!$mysqli->query('CREATE TABLE test(id INT) ENGINE = InnoDB')) {
49 if (!$mysqli->query('INSERT INTO test(id) VALUES (1)')) {
58 if (!$mysqli->query('ROLLBACK'))
61 if (!$res = $mysqli->query('SELECT COUNT(*) AS num FROM test')) {
71 if (!$mysqli->query('DROP TABLE IF EXISTS test')) {
/PHP-7.0/ext/opcache/tests/
H A Dissue0057.phpt15 function dummy($query) {
17 switch ($query) {
/PHP-7.0/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-7.0/ext/oci8/tests/
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-7.0/ext/pdo_dblib/tests/
H A Dbug_54648.phpt11 $db->query('set dateformat ymd');
12 $rs = $db->query("select cast('1950-01-18 23:00:00' as smalldatetime) as sdt, cast('2030-01-01 23:5…
/PHP-7.0/ext/pdo_mysql/tests/
H A Dpdo_mysql_pconnect.phpt22 $stmt = $db2->query('SELECT @pdo_persistent_connection as _pers');
27 $stmt = $db1->query('SELECT CONNECTION_ID() as _con1');
31 $stmt = $db2->query('SELECT CONNECTION_ID() as _con2');
40 $stmt = $db1->query('SELECT CONNECTION_ID() as _con1');
63 $stmt = $db1->query('SELECT CONNECTION_ID() as _con1');
68 $stmt = $db2->query('SELECT CONNECTION_ID() as _con2');
H A Dbug_61207.phpt2 PDO MySQL Bug #61207 (PDO::nextRowset() after a multi-statement query doesn't always work)
15 $db->query('DROP TABLE IF EXISTS test');
16 $db->query('create table `test`( `id` int )');
83 $db->query("DROP TABLE test");
/PHP-7.0/ext/pdo/tests/
H A Dpdo_030.phpt52 function query($sql)
55 return parent::query($sql);
77 $stmt = $db->query('SELECT * FROM test');
108 PDODatabase::query()
/PHP-7.0/ext/pdo_oci/tests/
H A Dpdo_oci_stream_2a.phpt17 $query = "begin execute immediate 'drop table pdo_oci_stream_2'; exception when others then if sqlc…
18 $stmt = $db->prepare($query);
21 $query = "create table pdo_oci_stream_2 (id number, data1 blob, data2 blob)";
22 $stmt = $db->prepare($query);

Completed in 34 milliseconds

12345678910>>...18