Searched refs:query (Results 176 – 200 of 576) sorted by relevance
12345678910>>...24
/php-src/ext/mysqli/tests/ |
H A D | bug51647.phpt | 22 if ($res = $link->query('SHOW VARIABLES LIKE "have_ssl"')) { 25 if ($link->errno == 1064 && ($res = $link->query("SHOW VARIABLES"))) { 54 if (!$res = $link->query('SHOW STATUS like "Ssl_cipher"')) { 57 if ($res = $link->query("SHOW STATUS")) { 84 if (!$res = $link->query('SHOW STATUS like "Ssl_cipher"')) { 87 if ($res = $link->query("SHOW STATUS")) {
|
H A D | mysqli_allow_local_infile_overrides_local_infile_directory.phpt | 31 if (!$link->query("DROP TABLE IF EXISTS test")) { 35 if (!$link->query("CREATE TABLE test (id INT UNSIGNED NOT NULL PRIMARY KEY) ENGINE=" . $engine)) { 40 if (!$link->query("LOAD DATA LOCAL INFILE '".$filepath."' INTO TABLE test")) { 69 if (!$link->query('DROP TABLE IF EXISTS test')) {
|
H A D | mysqli_local_infile_directory_vs_open_basedir.phpt | 31 if (!$link->query("DROP TABLE IF EXISTS test")) { 35 if (!$link->query("CREATE TABLE test (id INT UNSIGNED NOT NULL PRIMARY KEY) ENGINE=" . $engine)) { 40 if (!$link->query("LOAD DATA LOCAL INFILE '".$filepath."' INTO TABLE test")) { 57 if (!$link->query('DROP TABLE IF EXISTS test')) {
|
H A D | mysqli_pconn_limits.phpt | 18 printf("[001] Cannot run query, [%d] %s\n", 30 printf("[003] Cannot run query, [%d] %s\n", 44 printf("[005] Cannot run query, [%d] %s\n", 57 printf("[007] Cannot run query, [%d] %s\n", 71 printf("[009] Cannot run query, [%d] %s\n",
|
H A D | bug52891.phpt | 17 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 D | bug55283.phpt | 22 if ($res = $link->query('SHOW VARIABLES LIKE "have_ssl"')) { 25 if ($link->errno == 1064 && ($res = $link->query("SHOW VARIABLES"))) { 54 $r = $link->query("SHOW STATUS LIKE 'Ssl_cipher'"); 62 $r2 = $link2->query("SHOW STATUS LIKE 'Ssl_cipher'");
|
H A D | bug34810.phpt | 24 $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)");
|
/php-src/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_pconnect.phpt | 24 $stmt = $db2->query('SELECT @pdo_persistent_connection AS _pers'); 29 $stmt = $db1->query('SELECT CONNECTION_ID() AS _con1'); 33 $stmt = $db2->query('SELECT CONNECTION_ID() AS _con2'); 43 $stmt = $db1->query('SELECT CONNECTION_ID() as _con1'); 67 $stmt = $db1->query('SELECT CONNECTION_ID() AS _con1'); 73 $stmt = $db2->query('SELECT CONNECTION_ID() AS _con2');
|
H A D | bug_74376.phpt | 20 $stmt = $db->query("SELECT (SELECT 1 UNION SELECT 2)"); 26 Warning: PDO::query(): SQLSTATE[21000]: Cardinality violation: 1242 Subquery returns more than 1 ro…
|
H A D | pdo_mysql_inTransaction.phpt | 21 foreach (['exec', 'query', 'execute'] as $w) { 27 case'query': 28 $db->query($command)->execute(); 62 // DDL query causes an implicit commit.
|
H A D | pdo_mysql_subclass.phpt | 28 public function query(...$args): PDOStatement|false { 30 return parent::query(...$args); 58 $stmt = $db->query('SELECT * FROM test_subclass ORDER BY id ASC'); 84 query('SELECT * FROM test_subclass ORDER BY id ASC')
|
H A D | pdo_mysql_stmt_fetchobject_ctor_args.phpt | 12 $query = "SELECT '', NULL, \"\" FROM DUAL"; 13 $stmt = $db->prepare($query); 30 $query = "SELECT id FROM {$table} ORDER BY id ASC LIMIT 1"; 31 $stmt = $db->prepare($query);
|
H A D | pdo_mysql_closecursor_error.phpt | 2 Error during closeCursor() of multi query 16 $stmt = $db->query('SELECT 1; SELECT x FROM does_not_exist');
|
H A D | pdo_mysql_exec_load_data.phpt | 12 $stmt = $db->query('SELECT USER() as _user'); 20 $stmt = $db->query("SHOW VARIABLES LIKE 'secure_file_priv'"); 64 $stmt = $db->query("SHOW VARIABLES LIKE 'secure_file_priv'"); 79 $stmt = $db->query('SELECT id, col1 FROM test_mysql_exec_load_data ORDER BY id ASC'); 102 $db->query('DROP TABLE IF EXISTS test_mysql_exec_load_data');
|
H A D | bug_33689.phpt | 2 PDO MySQL Bug #33689 (query() execute() and fetch() return false on valid select queries) 18 var_dump($db->query('SELECT * FROM test_33689')); 19 foreach ($db->query('SELECT * FROM test_33689') as $row) {
|
H A D | bug66878.phpt | 17 $stmt = $pdo->query($sql); 23 $stmt = $pdo->query($sql);
|
H A D | bug79872.phpt | 2 Bug #79872: Can't execute query with pending result sets 20 var_dump($db->query('SELECT @foo')->fetchAll());
|
/php-src/ext/sqlite3/tests/ |
H A D | sqlite3_16_select_no_results.phpt | 2 SQLite3::query SELECT with no results 15 $results = $db->query("SELECT * FROM test ORDER BY id ASC");
|
H A D | sqlite3_04_update.phpt | 2 SQLite3::query UPDATE tests 19 $results = $db->query("SELECT * FROM test ORDER BY id ASC"); 30 $results = $db->query("SELECT * FROM test ORDER BY id ASC");
|
H A D | sqlite3_05_delete.phpt | 2 SQLite3::query DELETE tests 19 $results = $db->query("SELECT * FROM test ORDER BY id ASC"); 30 $results = $db->query("SELECT * FROM test ORDER BY id ASC");
|
H A D | sqlite3_20_error.phpt | 11 $result = $db->query("SELECT * FROM non_existent_table"); 23 Warning: SQLite3::query(): Unable to prepare statement: no such table: non_existent_table in %s on …
|
H A D | bug69972.phpt | 9 $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 D | php_function_edge_cases.phpt | 14 $xpath->query("//a[php:function(3)]"); 19 $xpath->query("//a[php:function()]");
|
H A D | bug36756.phpt | 12 $node = $xpath->query('/root')->item(0); 19 $node = $xpath->query('//child')->item(0);
|
/php-src/ext/pdo/tests/ |
H A D | pdo_030.phpt | 53 function query($sql, ...$rest): PDOStatement|false 56 return parent::query($sql); 78 $stmt = $db->query('SELECT * FROM test030'); 115 PDODatabase::query()
|
Completed in 31 milliseconds
12345678910>>...24