/PHP-7.1/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_stmt_blobs.phpt | 40 $stmt = $db->query('SELECT id, label FROM test'); 63 $stmt = $db->query('SELECT id, label FROM test');
|
H A D | pdo_mysql_multi_stmt_nextrowset.phpt | 9 $row = $db->query('SELECT VERSION() as _version')->fetch(PDO::FETCH_ASSOC); 34 $stmt = $db->query('CALL p()'); 68 $stmt = $db->query("SELECT * FROM test; INSERT INTO test (id, label) VALUES (99, 'x')");
|
H A D | pdo_mysql_exec.phpt | 79 $stmt = $db->query('SELECT @version AS p_version'); 88 $stmt = $db->query('SELECT VERSION() AS _version'); 117 $stmt = $db->query('SELECT f(VERSION()) AS f_version'); 125 $stmt = $db->query('SELECT VERSION() AS _version'); 148 // multi query
|
H A D | pdo_mysql_exec_select.phpt | 63 …ely, if your code is only ever going to run against mysql, you may enable query buffering by setti… 64 …ely, if your code is only ever going to run against mysql, you may enable query buffering by setti…
|
H A D | bug_41698.phpt | 23 var_dump($db->query('SELECT * from test')->fetchAll(PDO::FETCH_ASSOC));
|
/PHP-7.1/ext/pdo/tests/ |
H A D | pdo_018.phpt | 78 var_dump($db->query('SELECT COUNT(*) FROM classtypes')->fetchColumn()); 79 var_dump($db->query('SELECT id, name FROM classtypes ORDER by id')->fetchAll(PDO::FETCH_COLUMN|PDO:… 130 $res = $db->query('SELECT test.val FROM test')->fetchAll(PDO::FETCH_COLUMN); 152 …$db->query('SELECT classtypes.name AS name, test.val AS val FROM test LEFT JOIN classtypes ON test… 161 var_dump($db->query('SELECT COUNT(*) FROM test LEFT JOIN classtypes ON test.classtype=classtypes.id…
|
H A D | pecl_bug_5772.phpt | 24 foreach ($db->query("SELECT * FROM test")->fetchAll(PDO::FETCH_FUNC, 'heLLO') as $row) {
|
H A D | bug_39398.phpt | 24 var_dump($db->query("SELECT * FROM test")->fetchAll(PDO::FETCH_ASSOC));
|
H A D | bug_36428.phpt | 20 $res = $db->query("SELECT a FROM test");
|
H A D | pdo_027.phpt | 21 foreach ($db->query("SELECT * FROM test", PDO::FETCH_LAZY) as $v) {
|
H A D | bug_35671.phpt | 31 var_dump($db->query("SELECT * from test")->fetchAll(PDO::FETCH_ASSOC));
|
H A D | bug_42917.phpt | 23 $res = $db->query("SELECT a,b FROM test");
|
H A D | bug_43139.phpt | 27 var_dump($db->query("select 0 as abc, 1 as xyz, 2 as def $from")->fetchAll(PDO::FETCH_GROUP));
|
H A D | pdo_024.phpt | 29 var_dump($db->query('select name from test where id=0')->fetchColumn());
|
/PHP-7.1/ext/standard/tests/strings/ |
H A D | http_build_query_variation1.phpt | 8 …* Description: Generates a URL-encoded query string from the associative (or indexed) array provid…
|
H A D | http_build_query_variation3.phpt | 12 …* Description: Generates a URL-encoded query string from the associative (or indexed) array provid…
|
/PHP-7.1/ext/sqlite3/tests/ |
H A D | bug68760.phpt | 22 $naturalSort = $db->query("SELECT col1 FROM test ORDER BY col1 COLLATE NATURAL_CMP");
|
H A D | bug72668.phpt | 16 $result = $db->query('SELECT my_udf_md5("test")');
|
H A D | sqlite3_02_create.phpt | 2 SQLite3::query CREATE tests
|
H A D | sqlite3_querysingle_error.phpt | 2 SQLite3::query parameters
|
/PHP-7.1/ext/mysqli/tests/ |
H A D | mysqli_no_reconnect.phpt | 73 printf("[011] Executing a query should not be possible, connection should be closed, [%d] %s\n", 83 It is undefined if the server replies to the query and how. 120 printf("[017] Running a query should not be possible, connection should be gone, [%d] %s\n",
|
H A D | mysqli_fetch_lengths_oo.phpt | 17 if (!$res = $mysqli->query("SELECT id, label FROM test ORDER BY id LIMIT 1")) {
|
H A D | bug44897.phpt | 24 if (!$link->query('DROP PROCEDURE IF EXISTS p')) 27 …if (!$link->query('CREATE PROCEDURE p(IN new_id INT, IN new_label CHAR(1)) BEGIN INSERT INTO test(…
|
H A D | bug29311.phpt | 40 if (($result = $foo[$i]->query("SELECT DATABASE()"))) {
|
/PHP-7.1/ext/mysqli/ |
H A D | mysqli_api.c | 120 char *query; in mysqli_commit_or_rollback_libmysql() local 124 query_len = spprintf(&query, 0, in mysqli_commit_or_rollback_libmysql() 132 ret = mysql_real_query(conn, query, query_len); in mysqli_commit_or_rollback_libmysql() 133 efree(query); in mysqli_commit_or_rollback_libmysql() 1843 char *query = NULL; local 1893 stmt->query = (char *)emalloc(query_len + 1); 1894 memcpy(stmt->query, query, query_len); 1895 stmt->query[query_len] = '\0'; 1931 char *query = NULL; local 1941 if (mysql_real_query(mysql->mysql, query, query_len)) { [all …]
|