/PHP-8.0/ext/mysqli/tests/ |
H A D | gh8058.phpt | 16 $stmt = $mysqli->prepare("select 1,2,3"); 18 $stmt->prepare(""); 19 $stmt->prepare("select ".str_repeat("'A',", 0x1201)."1"); 23 $stmt = $mysqli->prepare("select 1,2,3"); 25 $stmt->prepare(""); 26 $stmt->prepare("select 1"); 30 $stmt = $mysqli->prepare("select 1,2,3"); 33 $stmt->prepare("");
|
H A D | mysqli_stmt_attr_set.phpt | 30 $stmt->prepare("SELECT * FROM test"); 50 $stmt->prepare("SELECT label FROM test"); 66 $stmt->prepare("SELECT label FROM test"); 86 $stmt->prepare("SELECT label FROM test"); 110 $stmt->prepare("SELECT id, label FROM test"); 134 $stmt->prepare("SELECT id, label FROM test"); 146 $stmt->prepare("SELECT id, label FROM test"); 163 $stmt->prepare("SELECT id, label FROM test"); 185 $stmt->prepare("SELECT id, label FROM test"); 207 $stmt->prepare("SELECT label FROM test"); [all …]
|
/PHP-8.0/ext/pdo_oci/tests/ |
H A D | pdo_oci_templob_1.phpt | 26 $stmt= $db->prepare($clobquery1); 29 $stmt= $db->prepare($clobquery2); 32 $stmt= $db->prepare($clobquery3); 35 $stmt= $db->prepare($clobquery4); 38 $stmt= $db->prepare($clobquery5); 41 $stmt= $db->prepare($clobquery6); 44 $stmt= $db->prepare($clobquery7); 47 $stmt= $db->prepare($clobquery8); 50 $stmt= $db->prepare($clobquery9); 59 $stmt1 = $db->prepare($query1); [all …]
|
H A D | pdo_oci_attr_prefetch_2.phpt | 16 $s = $dbh->prepare("select '' as myempty, null as mynull from dual", array(PDO::ATTR_PREFETCH => 10… 18 echo "Test 1: Can't set prefetch after prepare\n"; 22 $s = $dbh->prepare("select dummy from dual" ); 29 $s = $dbh->prepare("select '' as myempty, null as mynull from dual", array(PDO::ATTR_PREFETCH => 0)… 30 $s = $dbh->prepare("select dummy from dual" ); 40 Test 1: Can't set prefetch after prepare
|
H A D | pdo_oci_attr_prefetch_1.phpt | 23 $s = $dbh->prepare("select dummy from dual" ); 34 $s = $dbh->prepare("select dummy from dual" ); 45 $s = $dbh->prepare("select dummy from dual" ); 56 $s = $dbh->prepare("select dummy from dual" );
|
/PHP-8.0/ext/pdo_mysql/tests/ |
H A D | bug70272.phpt | 23 $a->b = $db->prepare("select 1"); 24 $a->d = $db->prepare("select 2"); 25 $a->e = $db->prepare("select 3"); 26 $a->f = $db->prepare("select 4");
|
H A D | bug80458.phpt | 23 $stmt = $db->prepare('DELETE FROM test WHERE first=1'); 30 $stmt2 = $db->prepare('DELETE FROM test WHERE first=3'); 36 $stmt3 = $db->prepare('DELETE FROM test WHERE first=4'); 46 $stmt4 = $db->prepare('CALL nores()'); 53 $stmt5 = $db->prepare('CALL ret()'); 64 $stmt = $db->prepare('DELETE FROM test WHERE first=8'); 71 $stmt2 = $db->prepare('DELETE FROM test WHERE first=10'); 77 $stmt3 = $db->prepare('DELETE FROM test WHERE first=11'); 87 $stmt4 = $db->prepare('CALL nores()'); 94 $stmt5 = $db->prepare('CALL ret()'); [all …]
|
H A D | bug_38546.phpt | 56 $st = $db->prepare("UPDATE test SET some_bool_1=?, some_bool_2=?, some_int=? WHERE uid=?"); 75 print("ok prepare 1\n"); 82 $st = $db->prepare("UPDATE test SET some_bool_1=?, some_bool_2=?, some_int=? WHERE uid=?"); 101 print("ok prepare 2\n"); 109 $st = $db->prepare("UPDATE test SET some_bool_1=?, some_bool_2=?, some_int=? WHERE uid=?"); 128 print("ok prepare 3\n"); 155 print("ok prepare 4\n"); 182 print("ok prepare 5\n"); 208 ok prepare 1 220 ok prepare 2 [all …]
|
H A D | pdo_mysql_prepare_native_mixed_style.phpt | 2 MySQL PDO->prepare(), native PS, mixed, wired style 21 $stmt = $db->prepare('INSERT INTO test(id, label) VALUES (1, ?), (2, ?)'); 23 …$stmt = $db->prepare("SELECT id, label FROM test WHERE id = :placeholder AND label = (SELECT label… 35 Warning: PDO::prepare(): SQLSTATE[HY093]: Invalid parameter number: mixed named and positional para… 37 Warning: PDO::prepare(): SQLSTATE[HY093]: Invalid parameter number in %s on line %d
|
H A D | pdo_mysql_prepare_native_column.phpt | 2 MySQL PDO->prepare(), native PS, named placeholder 20 $stmt = $db->prepare("SELECT :param FROM test ORDER BY id ASC LIMIT 1"); 24 $db->prepare('SELECT :placeholder FROM test WHERE :placeholder > :placeholder');
|
H A D | pdo_mysql_prepare_native_dup_named_placeholder.phpt | 2 MySQL PDO->prepare(), native PS, named placeholder II 26 …$stmt = $db->prepare('INSERT INTO test(id, label1, label2) VALUES (1, :placeholder, :placeholder)'… 35 $stmt = $db->prepare('SELECT id, label1, label2 FROM test WHERE id = 1'); 45 …$stmt = $db->prepare('INSERT INTO test(id, label1, label2) VALUES(2, :placeholder, :placeholder)'); 54 $stmt = $db->prepare('SELECT id, label1, label2 FROM test WHERE id = 2'); 67 $stmt = $db->prepare($sql); 81 $stmt = $db->prepare($sql);
|
H A D | pdo_mysql_prepare_native_clear_error.phpt | 2 MySQL PDO->prepare(), native PS, clear line after error 28 … $stmt = $db->prepare('SELECT unknown_column FROM test WHERE id > :placeholder ORDER BY id ASC'); 35 $stmt = $db->prepare('SELECT id, label FROM test WHERE id > :placeholder ORDER BY id ASC'); 48 … $stmt = $db->prepare('SELECT unknown_column FROM test WHERE id > :placeholder ORDER BY id ASC'); 55 $stmt = $db->prepare('SELECT id, label FROM test WHERE id > :placeholder ORDER BY id ASC'); 94 Warning: PDO::prepare(): SQLSTATE[42S22]: Column not found: 1054 Unknown column 'unknown_column' in…
|
H A D | bug44327.phpt | 15 $stmt = $db->prepare("SELECT 1 AS \"one\""); 28 $stmt = $db->prepare("SELECT id FROM test"); 37 $stmt = $db->prepare('foo');
|
H A D | bug_pecl_12925.phpt | 21 $stmt = $db->prepare("UPDATE test SET id = 'b'"); 23 $stmt = $db->prepare("UPDATE test SET id = 'c'"); 25 $stmt = $db->prepare('SELECT id FROM test');
|
/PHP-8.0/ext/sqlite3/tests/ |
H A D | sqlite3_prepare_faultystmt.phpt | 2 SQLite3::prepare test, testing for faulty statement 14 $stmt = $db->prepare('SELECT foo FROM bar'); 19 Warning: SQLite3::prepare(): Unable to prepare statement: 1, no such table: bar in %s on line %d
|
H A D | sqlite3_bind_bug68849.phpt | 16 $s = $db->prepare('SELECT * FROM test WHERE (a+2) = ?;'); 21 $s = $db->prepare('SELECT * FROM test WHERE a = ?;'); 26 $s = $db->prepare('SELECT * FROM test WHERE a = ?;'); 31 $s = $db->prepare('SELECT * FROM test WHERE c = ?;');
|
H A D | sqlite3_prepare_with_empty_string.phpt | 2 SQLite3::prepare test with empty string argument 11 var_dump($db->prepare(''));
|
H A D | sqlite3_35_stmt_readonly.phpt | 24 $stmt = $db->prepare("SELECT * FROM test WHERE id = ? ORDER BY id ASC"); 28 $stmt = $db->prepare("UPDATE test SET id = 'c' WHERE id = ?"); 32 $stmt = $db->prepare("DELETE FROM test");
|
/PHP-8.0/ext/pdo/tests/ |
H A D | bug_71447.phpt | 24 $stmt = $db->prepare(" 34 $stmt = $db->prepare(" 44 $stmt = $db->prepare(" 54 $stmt = $db->prepare(" 64 $stmt = $db->prepare(" 74 $stmt = $db->prepare(" 85 $stmt = $db->prepare("
|
/PHP-8.0/ext/pdo_pgsql/tests/ |
H A D | bug64953.phpt | 20 $st = $pdo->prepare('SELECT ?::char as i'); 26 $st = $pdo->prepare('SELECT (?)::char as i'); 33 $st = $pdo->prepare("SELECT :int::int as i"); 37 $st = $pdo->prepare("SELECT '''?'''::text as \":text\"");
|
H A D | bug72294.phpt | 100 public function prepare( $pdo, $sql ) 102 //return $pdo->prepare( $sql ); 103 $this->cached_statements[$sql] = $pdo->prepare( $sql ); 118 $statement = $prepared_statement_cache->prepare( $pdo, <<<SQL 134 $statement = $this->cache->prepare( $pdo, 'SELECT * FROM temp_table WHERE test_column > 0' );
|
H A D | disable_prepares.phpt | 17 $stmt = $db->prepare("SELECT statement FROM pg_prepared_statements", array( 20 $stmt2 = $db->prepare("SELECT (?)::int2"); 29 $stmt3 = $db->prepare("SELECT (?)::int4", array(
|
/PHP-8.0/ext/pdo_sqlite/tests/ |
H A D | pdo_sqlite_statement_getattribute.phpt | 10 $st = $db->prepare('SELECT 1;'); 14 $st = $db->prepare('CREATE TABLE test (a TEXT);');
|
/PHP-8.0/ext/pdo_dblib/tests/ |
H A D | timeout.phpt | 16 $stmt = $db->prepare($sql); 25 $stmt = $db->prepare($sql); 39 $stmt = $db->prepare($sql); 51 $stmt = $db->prepare($sql); 63 $stmt = $db->prepare($sql);
|
/PHP-8.0/ext/pdo_firebird/tests/ |
H A D | rowCount.phpt | 22 $stmt = $dbh->prepare($query); 29 $stmt = $dbh->prepare('UPDATE testZ SET A="A" WHERE A != ?'); 34 $stmt = $dbh->prepare('DELETE FROM testz');
|