/PHP-5.4/ext/pdo_pgsql/tests/ |
H A D | bug66584.phpt | 19 $pdo->query("CREATE TABLE b66584 (a int)"); 20 $pdo->query("INSERT INTO b66584 VALUES (165)"); 39 $pdo->query("DROP TABLE b66584");
|
/PHP-5.4/ext/pdo_mysql/tests/ |
H A D | bug_61207.phpt | 2 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");
|
H A D | pdo_mysql_errorinfo.phpt | 40 or PDO->query() and invoke an error on the statement handle, 48 $stmt = $db->query('SELECT id, label FROM test'); 59 @$stmt = $db->query('SELECT id, label FROM unknown'); 63 $stmt = $db->query('SELECT id, label FROM test'); 69 @$db->query('SELECT id, label FROM unknown');
|
H A D | bug_41997.phpt | 10 $row = $db->query('SELECT VERSION() as _version')->fetch(PDO::FETCH_ASSOC); 28 $stmt = $db->query("CALL p()"); 34 $stmt = $db->query('SELECT 2 AS "two"');
|
H A D | bug_33689.phpt | 2 PDO MySQL Bug #33689 (query() execute() and fetch() return false on valid select queries) 19 var_dump($db->query('SELECT * from test')); 20 foreach ($db->query('SELECT * from test') as $row) {
|
H A D | pdo_mysql_stmt_multiquery.phpt | 2 PDOStatements and multi query 15 …$stmt = $db->query('SELECT label FROM test ORDER BY id ASC LIMIT 1; SELECT label FROM test ORDER B… 24 …$stmt = $db->query('SELECT label FROM test ORDER BY id ASC LIMIT 1; SELECT label FROM test ORDER B… 100 Warning: PDO::query(): SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in…
|
H A D | bug41125.phpt | 33 foreach ($queries as $k => $query) { 34 $stmt = $db->prepare($query); 36 printf("[%d] Query: [[%s]]\n", $k + 1, $query); 74 foreach ($queries as $k => $query) { 75 $stmt = $db->prepare($query); 79 printf("[%d] Query: [[%s]]\n", $k + 1, $query);
|
H A D | pdo_mysql_subclass.phpt | 33 public function query() { 35 return call_user_func_array(array($this, 'parent::query'), func_get_args()); 63 $stmt = $db->query('SELECT * FROM test ORDER BY id ASC'); 88 query('SELECT * FROM test ORDER BY id ASC')
|
H A D | pdo_mysql_attr_fetch_table_names.phpt | 16 $stmt = $db->query('SELECT label FROM test LIMIT 1'); 21 $stmt = $db->query('SELECT label FROM test LIMIT 1');
|
/PHP-5.4/ext/pdo/tests/ |
H A D | pdo_030.phpt | 52 function query($sql) 55 return parent::query($sql); 77 $stmt = $db->query('SELECT * FROM test'); 108 PDODatabase::query()
|
/PHP-5.4/ext/mysqli/tests/ |
H A D | mysqli_pconn_limits.phpt | 21 printf("[001] Cannot run query, [%d] %s\n", 33 printf("[003] Cannot run query, [%d] %s\n", 47 printf("[005] Cannot run query, [%d] %s\n", 60 printf("[007] Cannot run query, [%d] %s\n", 74 printf("[009] Cannot run query, [%d] %s\n",
|
H A D | bug35517.phpt | 14 $mysql->query("CREATE TABLE temp (id INT UNSIGNED NOT NULL)"); 15 $mysql->query("INSERT INTO temp (id) VALUES (3000000897),(3800001532),(3900002281),(3100059612)"); 36 $mysql->query("DROP TABLE temp");
|
H A D | bug52891.phpt | 19 if (!$link->query("DROP TABLE IF EXISTS tuint") || 20 !$link->query("DROP TABLE IF EXISTS tsint")) { 24 if (!$link->query("CREATE TABLE tuint(a BIGINT UNSIGNED) ENGINE=" . $engine) || 25 !$link->query("CREATE TABLE tsint(a BIGINT) ENGINE=" . $engine)) { 84 $result = $link->query("SELECT * FROM tsint ORDER BY a ASC"); 85 $result2 = $link->query("SELECT * FROM tuint ORDER BY a ASC");
|
H A D | bug51647.phpt | 16 if ($res = $link->query('SHOW VARIABLES LIKE "have_ssl"')) { 19 if ($link->errno == 1064 && ($res = $link->query("SHOW VARIABLES"))) { 52 if (!$res = $link->query('SHOW STATUS like "Ssl_cipher"')) { 55 if ($res = $link->query("SHOW STATUS")) {
|
/PHP-5.4/ext/sqlite3/tests/ |
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_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_20_error.phpt | 11 $result = $db->query("SELECT * FROM non_existent_table"); 23 Warning: SQLite3::query(): Unable to prepare statement: 1, no such table: non_existent_table in %s …
|
/PHP-5.4/ext/oci8/tests/ |
H A D | lob_022.phpt | 46 $query = 'SELECT * FROM lob_test ORDER BY mykey ASC'; 47 $statement = oci_parse ($c, $query); 55 $query = 'SELECT * FROM lob_test ORDER BY mykey DESC'; 56 $statement = oci_parse ($c, $query);
|
/PHP-5.4/ext/pdo_sqlite/tests/ |
H A D | bug35336.phpt | 16 $a->query ("CREATE TABLE test (a integer primary key, b text)"); 19 $rez = $a->query ("SELECT * FROM test")->fetchAll(PDO::FETCH_CLASS, 'EEE');
|
H A D | bug_63916.phpt | 12 $conn->query('CREATE TABLE users (id INTEGER NOT NULL, num INTEGER NOT NULL, PRIMARY KEY(id))'); 19 $stmt = $conn->query('SELECT num FROM users');
|
H A D | bug_63916-2.phpt | 12 $conn->query('CREATE TABLE users (id INTEGER NOT NULL, num INTEGER NOT NULL, PRIMARY KEY(id))'); 19 $stmt = $conn->query('SELECT num FROM users');
|
H A D | bug44327_2.phpt | 12 $x = $db->query('select 1 as queryString'); 20 $x = $db->query('select 1 as queryString');
|
/PHP-5.4/ext/interbase/tests/ |
H A D | ibase_free_query_001.phpt | 24 Warning: ibase_free_query(): 11 is not a valid Firebird/InterBase query resource in %s on line %d 27 Warning: ibase_free_query(): supplied resource is not a valid Firebird/InterBase query resource in …
|
/PHP-5.4/ext/interbase/ |
H A D | ibase_query.c | 50 struct _ib_query *query; member 69 char *query; member 177 if (ib_query->query) { in _php_ibase_free_query() 178 efree(ib_query->query); in _php_ibase_free_query() 322 if (*query == '\0') { in _php_ibase_alloc_query() 335 ib_query->query = estrdup(query); in _php_ibase_alloc_query() 426 if (ib_query->query) { in _php_ibase_alloc_query() 427 efree(ib_query->query); in _php_ibase_alloc_query() 950 res->query = ib_query; in _php_ibase_exec() 1062 char *query; in PHP_FUNCTION() local [all …]
|