Home
last modified time | relevance | path

Searched refs:sql (Results 101 – 125 of 140) sorted by relevance

123456

/PHP-8.2/ext/pdo_pgsql/tests/
H A Dbug75402.phpt51 $sql = "SELECT
66 $stmt = $db->prepare($sql,
/PHP-8.2/ext/oci8/tests/
H A Dbug42173.phpt42 foreach ($stmts as $sql) {
43 $s = oci_parse($c, $sql);
H A Dbug72524.phpt25 $sql = "INSERT INTO mytable VALUES (:clob_col, :varchar2_col)";
28 $stmt = oci_parse($c, $sql);
/PHP-8.2/ext/mysqli/tests/
H A Dmysqli_fetch_array_many_rows.phpt16 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 DREADME.md4 ```sql
H A Dmysqli_get_charset.phpt35 …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 Dbug51647.phpt56 /* 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 Dmysqli_fetch_array_oo.phpt80 …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 Dmysqli_stmt_bind_param_type_juggling.phpt21 … $sql = sprintf("CREATE TABLE test(col1 %s, col2 %s) ENGINE=%s", $sql_type1, $sql_type2, $engine);
22 if (!mysqli_query($link, $sql)) {
H A Dmysqli_fetch_all.phpt87 …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 Dmysqli_fetch_all_oo.phpt99 …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 Dmysqli_fetch_array.phpt73 …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 Dmysqli_stmt_fetch_geom.phpt31 $sql = sprintf("INSERT INTO test(id, label) VALUES (%d, %s)", $id, $bind_value);
32 if (!mysqli_query($link, $sql)) {
H A Dmysqli_stmt_get_result_geom.phpt34 $sql = sprintf("INSERT INTO test(id, label) VALUES (%d, %s)", $id, $bind_value);
35 if (!mysqli_query($link, $sql)) {
H A Dlocal_infile_tools.inc31 …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 Dmysqli_stmt_bind_result_bit.phpt103 …$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 Dbug_77863.phpt14 $sql = <<<SQL
26 $query = $dbh->prepare($sql);
/PHP-8.2/ext/pdo_mysql/tests/
H A Dpdo_mysql_exec.phpt12 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 Dpdo_mysql_types_zerofill.phpt17 …$sql = sprintf('CREATE TABLE test(id INT, label %s) ENGINE=%s', $sql_type, MySQLPDOTest::getTableE…
18 @$db->exec($sql);
H A Dbug54929.phpt2 Bug #54929 (Parse error with single quote in sql comment (pdo-mysql))
H A Dpdo_mysql_stmt_blobfromsteam.phpt57 … $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 Dsqlite_driver.c175 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 Ddblib_driver.c94 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 Dpdo_oci_stmt_getcolumnmeta.phpt165 $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 Dpgsql.c5313 *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 …]

Completed in 51 milliseconds

123456