/PHP-8.2/ext/pdo_pgsql/tests/ |
H A D | bug75402.phpt | 51 $sql = "SELECT 66 $stmt = $db->prepare($sql,
|
/PHP-8.2/ext/oci8/tests/ |
H A D | bug42173.phpt | 42 foreach ($stmts as $sql) { 43 $s = oci_parse($c, $sql);
|
H A D | bug72524.phpt | 25 $sql = "INSERT INTO mytable VALUES (:clob_col, :varchar2_col)"; 28 $stmt = oci_parse($c, $sql);
|
/PHP-8.2/ext/mysqli/tests/ |
H A D | mysqli_fetch_array_many_rows.phpt | 16 if (!mysqli_query($link, $sql = sprintf("INSERT INTO test(id, label) VALUES (%d, '%s')", 18 … printf("[001] %s failed: [%d] %s\n", $sql, mysqli_errno($link), mysqli_error($link));
|
H A D | README.md | 4 ```sql
|
H A D | mysqli_get_charset.phpt | 35 …if (!$res = mysqli_query($link, $sql = sprintf("SHOW CHARACTER SET LIKE '%s'", $character_set_conn… 39 printf("[010] Cannot fetch Maxlen and/or Comment, test will fail: $sql\n");
|
H A D | bug51647.phpt | 56 /* ERROR 1064 (42000): You have an error in your SQL syntax; = sql strict mode */ 86 /* ERROR 1064 (42000): You have an error in your SQL syntax; = sql strict mode */
|
H A D | mysqli_fetch_array_oo.phpt | 80 …if (!$mysqli->query($sql = sprintf("CREATE TABLE test(id INT NOT NULL, label %s, PRIMARY KEY(id)) … 86 if (!$mysqli->query($sql = sprintf("INSERT INTO test(id, label) VALUES (1, NULL)"))) { 92 … if (!$mysqli->query($sql = "INSERT INTO test(id, label) VALUES (1, '" . $sql_value . "')")) { 93 … printf("[%04ds] [%d] %s - %s\n", $offset + 1, $mysqli->errno, $mysqli->error, $sql); 97 … if (!$mysqli->query($sql = sprintf("INSERT INTO test(id, label) VALUES (1, '%d')", $sql_value))) {
|
H A D | mysqli_stmt_bind_param_type_juggling.phpt | 21 … $sql = sprintf("CREATE TABLE test(col1 %s, col2 %s) ENGINE=%s", $sql_type1, $sql_type2, $engine); 22 if (!mysqli_query($link, $sql)) {
|
H A D | mysqli_fetch_all.phpt | 87 …if (!mysqli_query($link, $sql = sprintf("CREATE TABLE test(id INT NOT NULL, label %s, PRIMARY KEY(… 93 … if (!mysqli_query($link, $sql = sprintf("INSERT INTO test(id, label) VALUES (1, NULL)"))) { 99 … if (!mysqli_query($link, $sql = "INSERT INTO test(id, label) VALUES (1, '" . $sql_value . "')")) { 100 … printf("[%04ds] [%d] %s - %s\n", $offset + 1, mysqli_errno($link), mysqli_error($link), $sql); 104 …if (!mysqli_query($link, $sql = sprintf("INSERT INTO test(id, label) VALUES (1, '%d')", $sql_value…
|
H A D | mysqli_fetch_all_oo.phpt | 99 …if (!$link->query($sql = sprintf("CREATE TABLE test(id INT NOT NULL, label %s, PRIMARY KEY(id)) EN… 105 if (!$link->query($sql = sprintf("INSERT INTO test(id, label) VALUES (1, NULL)"))) { 111 … if (!$link->query($sql = "INSERT INTO test(id, label) VALUES (1, '" . $sql_value . "')")) { 112 printf("[%04ds] [%d] %s - %s\n", $offset + 1, $link->errno, $link->error, $sql); 116 … if (!$link->query($sql = sprintf("INSERT INTO test(id, label) VALUES (1, '%d')", $sql_value))) {
|
H A D | mysqli_fetch_array.phpt | 73 …if (!mysqli_query($link, $sql = sprintf("CREATE TABLE test(id INT NOT NULL, label %s, PRIMARY KEY(… 79 … if (!mysqli_query($link, $sql = sprintf("INSERT INTO test(id, label) VALUES (1, NULL)"))) { 85 … if (!mysqli_query($link, $sql = "INSERT INTO test(id, label) VALUES (1, '" . $sql_value . "')")) { 86 … printf("[%04ds] [%d] %s - %s\n", $offset + 1, mysqli_errno($link), mysqli_error($link), $sql); 90 …if (!mysqli_query($link, $sql = sprintf("INSERT INTO test(id, label) VALUES (1, '%d')", $sql_value…
|
H A D | mysqli_stmt_fetch_geom.phpt | 31 $sql = sprintf("INSERT INTO test(id, label) VALUES (%d, %s)", $id, $bind_value); 32 if (!mysqli_query($link, $sql)) {
|
H A D | mysqli_stmt_get_result_geom.phpt | 34 $sql = sprintf("INSERT INTO test(id, label) VALUES (%d, %s)", $id, $bind_value); 35 if (!mysqli_query($link, $sql)) {
|
H A D | local_infile_tools.inc | 31 …if (!mysqli_query($link, $sql = sprintf('CREATE TABLE %s(id INT, label CHAR(1), PRIMARY KEY(id)) E… 33 return "Failed to create test table: $sql";
|
H A D | mysqli_stmt_bind_result_bit.phpt | 103 …$sql = sprintf("SELECT id, BIN(bit_value) AS _bin, bit_value, bit_value + 0 AS _bit_value0, bit_nu… 104 if ((!mysqli_stmt_prepare($stmt_sel, $sql)) ||
|
/PHP-8.2/ext/pdo_firebird/tests/ |
H A D | bug_77863.phpt | 14 $sql = <<<SQL 26 $query = $dbh->prepare($sql);
|
/PHP-8.2/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_exec.phpt | 12 function exec_and_count($offset, &$db, $sql, $exp = NULL) { 16 $ret = $db->exec($sql); 19 $offset, $exp, gettype($exp), $ret, gettype($ret), $sql, 26 $offset, $sql, $db->errorCode(), implode(' ', $db->errorInfo()));
|
H A D | pdo_mysql_types_zerofill.phpt | 17 …$sql = sprintf('CREATE TABLE test(id INT, label %s) ENGINE=%s', $sql_type, MySQLPDOTest::getTableE… 18 @$db->exec($sql);
|
H A D | bug54929.phpt | 2 Bug #54929 (Parse error with single quote in sql comment (pdo-mysql))
|
H A D | pdo_mysql_stmt_blobfromsteam.phpt | 57 … $sql = sprintf('CREATE TABLE test(id INT, label BLOB) ENGINE=%s', PDO_MYSQL_TEST_ENGINE); 58 $db->exec($sql);
|
/PHP-8.2/ext/pdo_sqlite/ |
H A D | sqlite_driver.c | 175 static bool sqlite_handle_preparer(pdo_dbh_t *dbh, zend_string *sql, pdo_stmt_t *stmt, zval *driver… in sqlite_handle_preparer() argument 193 i = sqlite3_prepare_v2(H->db, ZSTR_VAL(sql), ZSTR_LEN(sql), &S->stmt, &tail); in sqlite_handle_preparer() 203 static zend_long sqlite_handle_doer(pdo_dbh_t *dbh, const zend_string *sql) in sqlite_handle_doer() argument 208 if (sqlite3_exec(H->db, ZSTR_VAL(sql), NULL, NULL, &errmsg) != SQLITE_OK) { in sqlite_handle_doer()
|
/PHP-8.2/ext/pdo_dblib/ |
H A D | dblib_driver.c | 94 static bool dblib_handle_preparer(pdo_dbh_t *dbh, zend_string *sql, pdo_stmt_t *stmt, zval *driver_… in dblib_handle_preparer() argument 109 static zend_long dblib_handle_doer(pdo_dbh_t *dbh, const zend_string *sql) in dblib_handle_doer() argument 116 if (FAIL == dbcmd(H->link, ZSTR_VAL(sql))) { in dblib_handle_doer()
|
/PHP-8.2/ext/pdo_oci/tests/ |
H A D | pdo_oci_stmt_getcolumnmeta.phpt | 165 $sql = sprintf('CREATE TABLE test(id INT, label %s)', $sql_type); 166 $stmt = $db->prepare($sql); 261 $sql = sprintf('CREATE TABLE test(id INT NOT NULL, label INT NULL)'); 262 $stmt = $db->prepare($sql);
|
/PHP-8.2/ext/pgsql/ |
H A D | pgsql.c | 5313 *sql = querystr.s; in php_pgsql_insert() 5332 zend_string *sql = NULL; in PHP_FUNCTION() local 5371 efree(sql); in PHP_FUNCTION() 5407 RETURN_STR(sql); in PHP_FUNCTION() 5534 *sql = querystr.s; in php_pgsql_update() 5581 RETURN_STR(sql); in PHP_FUNCTION() 5631 *sql = querystr.s; in php_pgsql_delete() 5648 zend_string *sql; in PHP_FUNCTION() local 5678 RETURN_STR(sql); in PHP_FUNCTION() 5774 *sql = querystr.s; in php_pgsql_select() [all …]
|