/php-src/ext/mysqli/tests/ |
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 | 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)");
|
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"))) { 52 $r = $link->query("SHOW STATUS LIKE 'Ssl_cipher'"); 60 $r2 = $link2->query("SHOW STATUS LIKE 'Ssl_cipher'");
|
H A D | mysqli_poll_mixing_insert_select.phpt | 47 foreach ($queries as $query) { 51 if (true !== ($tmp = mysqli_query($link, $query, MYSQLI_ASYNC | MYSQLI_USE_RESULT))) 60 'query' => $query, 115 $links[$thread_id]['query'], $saved_errors[$thread_id]); 117 printf("[004] Error state not saved for query '%s', %d != %d\n", $link['query'],
|
H A D | bug42548.phpt | 26 $mysqli->query("DROP PROCEDURE IF EXISTS p1") or die($mysqli->error); 27 $mysqli->query("CREATE PROCEDURE p1() BEGIN SELECT 23; SELECT 42; END") or die($mysqli->error); 49 $mysqli->query("DROP PROCEDURE p1") or die($mysqli->error);
|
/php-src/ext/pdo_mysql/tests/ |
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 | bug80808.phpt | 19 var_dump($pdo->query('SELECT * FROM test_80808')->fetchColumn(0)); 21 var_dump($pdo->query('SELECT * FROM test_80808')->fetchColumn(0));
|
H A D | gh11587.phpt | 36 $results = $db->query('SELECT * FROM test_11587'); 46 $results = $db->query('SELECT * FROM test_11587'); 56 $results = $db->query('SELECT * FROM test_11587'); 66 $results = $db->query('SELECT * FROM test_11587');
|
H A D | pdo_mysql_stmt_multiquery.phpt | 2 PDOStatements and multi query 19 …$stmt = $db->query("SELECT label FROM {$table} ORDER BY id ASC LIMIT 1; SELECT label FROM {$table}… 28 …$stmt = $db->query("SELECT label FROM {$table} ORDER BY id ASC LIMIT 1; SELECT label FROM {$table}… 104 Warning: PDO::query(): SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in…
|
/php-src/ext/sqlite3/tests/ |
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 | bug36756.phpt | 12 $node = $xpath->query('/root')->item(0); 19 $node = $xpath->query('//child')->item(0);
|
H A D | xpath_domnamespacenode.phpt | 2 DOMXPath::query() can return DOMNodeList with DOMNameSpaceNode items 15 $nodes = $xpath->query('//namespace::*');
|
/php-src/ext/pdo_dblib/tests/ |
H A D | datetime_convert.phpt | 20 $stmt = $db->query($sql); 26 $stmt = $db->query($sql);
|
H A D | datetime2.phpt | 21 $stmt = $db->query($sql); 26 $stmt = $db->query($sql);
|
H A D | batch_stmt_ins_exec.phpt | 17 $db->query("create table #test_batch_stmt_ins_exec(id int); "); 18 $db->query( 27 $stmt = $db->query(
|
/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()
|
H A D | bug_34687.phpt | 2 PDO Common: Bug #34687 (query doesn't return error information) 19 $x = $db->query("UPDATE non_existent_pdo_test_table set foo = 'bar'");
|
H A D | bug_79106.phpt | 15 if (@$db->query('SELECT 1 as "1"') === false) { 25 $stmt = $db->query('SELECT 0 as "2007", 0 as "2008", 0 as "2020"');
|
H A D | bug_79106_collision.phpt | 15 if (@$db->query('SELECT 1 as "1"') === false) { 25 $stmt = $db->query('SELECT 11111 as "1", 22222 as "2"');
|
/php-src/ext/mysqli/ |
H A D | mysqli.stub.php | 803 public function execute_query(string $query, ?array $params = null): mysqli_result|bool {} 848 public function multi_query(string $query): bool {} 879 public function prepare(string $query): mysqli_stmt|false {} 885 …public function query(string $query, int $result_mode = MYSQLI_STORE_RESULT): mysqli_result|bool {} 923 public function real_query(string $query): bool {} 1196 public function __construct(mysqli $mysql, ?string $query = null) {} 1298 public function prepare(string $query): bool {} 1498 function mysqli_multi_query(mysqli $mysql, string $query): bool {} 1522 function mysqli_prepare(mysqli $mysql, string $query): mysqli_stmt|false {} 1547 function mysqli_real_query(mysqli $mysql, string $query): bool {} [all …]
|
/php-src/ext/pdo_sqlite/tests/ |
H A D | bug_63916-2.phpt | 13 $conn->query('CREATE TABLE users (id INTEGER NOT NULL, num INTEGER NOT NULL, PRIMARY KEY(id))'); 20 $stmt = $conn->query('SELECT num FROM users');
|
H A D | bug_63916.phpt | 13 $conn->query('CREATE TABLE users (id INTEGER NOT NULL, num INTEGER NOT NULL, PRIMARY KEY(id))'); 20 $stmt = $conn->query('SELECT num FROM users');
|
/php-src/sapi/fpm/tests/ |
H A D | bug64539-status-json-encoding.phpt | 32 ['query' => 'a=b"c'], 33 ['uri' => '/status', 'query' => 'full&json', 'delay' => 100000],
|
/php-src/ext/pdo_firebird/tests/ |
H A D | bug_76450.phpt | 22 $query = $dbh->prepare($sql); 24 $query->execute();
|