/PHP-5.5/ext/pdo_mysql/tests/ |
H A D | bug54929.phpt | 2 Bug #54929 (Parse error with single quote in sql comment (pdo-mysql))
|
H A D | pdo_mysql_types_zerofill.phpt | 16 …$sql = sprintf('CREATE TABLE test(id INT, label %s) ENGINE=%s', $sql_type, MySQLPDOTest::getTableE… 17 @$db->exec($sql);
|
H A D | pdo_mysql_stmt_blobfromsteam.phpt | 56 $sql = sprintf('CREATE TABLE test(id INT, label BLOB) ENGINE=%s', PDO_MYSQL_TEST_ENGINE); 57 $db->exec($sql);
|
H A D | pdo_mysql_stmt_bindparam_types.phpt | 24 …$sql = sprintf('CREATE TABLE test(id INT, label %s) ENGINE=%s', $sql_type, MySQLPDOTest::getTableE… 25 if ((!$stmt = @$db->prepare($sql)) || (!@$stmt->execute()))
|
H A D | pdo_mysql_types.phpt | 16 …$sql = sprintf('CREATE TABLE test(id INT, label %s) ENGINE=%s', $sql_type, MySQLPDOTest::getTableE… 17 @$db->exec($sql);
|
/PHP-5.5/ext/mysqli/tests/ |
H A D | mysqli_get_charset.phpt | 47 …if (!$res = mysqli_query($link, $sql = sprintf("SHOW CHARACTER SET LIKE '%s'", $character_set_conn… 51 printf("[010] Cannot fetch Maxlen and/or Comment, test will fail: $sql\n");
|
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 | 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_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)) ||
|
H A D | mysqli_fetch_all.phpt | 101 …if (!mysqli_query($link, $sql = sprintf("CREATE TABLE test(id INT NOT NULL, label %s, PRIMARY KEY(… 107 if (!mysqli_query($link, $sql = sprintf("INSERT INTO test(id, label) VALUES (1, NULL)"))) { 113 … if (!mysqli_query($link, $sql = "INSERT INTO test(id, label) VALUES (1, '" . $sql_value . "')")) { 114 printf("[%04ds] [%d] %s - %s\n", $offset + 1, mysqli_errno($link), mysqli_error($link), $sql); 118 …if (!mysqli_query($link, $sql = sprintf("INSERT INTO test(id, label) VALUES (1, '%d')", $sql_value…
|
H A D | mysqli_fetch_all_oo.phpt | 102 …if (!$link->query($sql = sprintf("CREATE TABLE test(id INT NOT NULL, label %s, PRIMARY KEY(id)) EN… 108 if (!$link->query($sql = sprintf("INSERT INTO test(id, label) VALUES (1, NULL)"))) { 114 if (!$link->query($sql = "INSERT INTO test(id, label) VALUES (1, '" . $sql_value . "')")) { 115 printf("[%04ds] [%d] %s - %s\n", $offset + 1, $link->errno, $link->error, $sql); 119 if (!$link->query($sql = sprintf("INSERT INTO test(id, label) VALUES (1, '%d')", $sql_value))) {
|
H A D | mysqli_fetch_array.phpt | 79 …if (!mysqli_query($link, $sql = sprintf("CREATE TABLE test(id INT NOT NULL, label %s, PRIMARY KEY(… 85 if (!mysqli_query($link, $sql = sprintf("INSERT INTO test(id, label) VALUES (1, NULL)"))) { 91 … if (!mysqli_query($link, $sql = "INSERT INTO test(id, label) VALUES (1, '" . $sql_value . "')")) { 92 printf("[%04ds] [%d] %s - %s\n", $offset + 1, mysqli_errno($link), mysqli_error($link), $sql); 96 …if (!mysqli_query($link, $sql = sprintf("INSERT INTO test(id, label) VALUES (1, '%d')", $sql_value…
|
H A D | local_infile_tools.inc | 23 …if (!mysqli_query($link, $sql = sprintf('CREATE TABLE %s(id INT, label CHAR(1), PRIMARY KEY(id)) E… 25 return "Failed to create test table: $sql";
|
H A D | bug51647.phpt | 54 /* ERROR 1064 (42000): You have an error in your SQL syntax; = sql strict mode */
|
H A D | bug34810.phpt | 35 printf("[003] Wrong sql state code: %s\n", $warning->sqlstate);
|
H A D | mysqli_stmt_get_warnings.phpt | 21 die("skip Strict sql mode seems to be active. We won't get a warning to check for.");
|
/PHP-5.5/ext/sqlite3/libsqlite/ |
H A D | sqlite3ext.h | 78 int (*complete)(const char*sql); 79 int (*complete16)(const void*sql); 209 const char *(*sql)(sqlite3_stmt*); member 447 #define sqlite3_sql sqlite3_api->sql
|
/PHP-5.5/ext/pdo/ |
H A D | php_pdo_driver.h | 245 typedef int (*pdo_dbh_prepare_func)(pdo_dbh_t *dbh, const char *sql, long sql_len, pdo_stmt_t *stmt… 248 typedef long (*pdo_dbh_do_func)(pdo_dbh_t *dbh, const char *sql, long sql_len TSRMLS_DC);
|
/PHP-5.5/ext/pdo_pgsql/ |
H A D | pgsql_driver.c | 225 static int pgsql_handle_preparer(pdo_dbh_t *dbh, const char *sql, long sql_len, pdo_stmt_t *stmt, z… in pgsql_handle_preparer() argument 267 ret = pdo_parse_params(stmt, (char*)sql, sql_len, &nsql, &nsql_len TSRMLS_CC); in pgsql_handle_preparer() 271 sql = nsql; in pgsql_handle_preparer() 284 S->query = estrdup(sql); in pgsql_handle_preparer() 295 static long pgsql_handle_doer(pdo_dbh_t *dbh, const char *sql, long sql_len TSRMLS_DC) in pgsql_handle_doer() argument 302 if (!(res = PQexec(H->server, sql))) { in pgsql_handle_doer()
|
/PHP-5.5/ext/pdo_sqlite/ |
H A D | sqlite_driver.c | 178 static int sqlite_handle_preparer(pdo_dbh_t *dbh, const char *sql, long sql_len, pdo_stmt_t *stmt, … in sqlite_handle_preparer() argument 196 i = sqlite3_prepare(H->db, sql, sql_len, &S->stmt, &tail); in sqlite_handle_preparer() 206 static long sqlite_handle_doer(pdo_dbh_t *dbh, const char *sql, long sql_len TSRMLS_DC) in sqlite_handle_doer() argument 211 if (sqlite3_exec(H->db, sql, NULL, NULL, &errmsg) != SQLITE_OK) { in sqlite_handle_doer()
|
/PHP-5.5/ext/mbstring/oniguruma/win32/ |
H A D | Makefile | 198 $(CC) $(CFLAGS) -I. -o sql sample\sql.c $(dlllib)
|
/PHP-5.5/ext/pgsql/ |
H A D | pgsql.c | 6270 *sql = querystr.c; 6284 char *table, *sql = NULL; local 6308 RETURN_STRING(sql, 0); 6426 *sql = querystr.c; 6440 char *table, *sql = NULL; local 6464 RETURN_STRING(sql, 0); 6518 *sql = querystr.c; 6532 char *table, *sql = NULL; local 6556 RETURN_STRING(sql, 0); 6656 *sql = querystr.c; [all …]
|
/PHP-5.5/ext/mysql/tests/ |
H A D | mysql_pconnect.phpt | 39 if (!ini_get('sql.safe_mode')) {
|
H A D | mysql_pconn_max_links.phpt | 108 …$sql = sprintf('SET PASSWORD FOR pcontest@"%s" = PASSWORD("newpass")', mysql_real_escape_string($h… 109 if (!mysql_query($sql, $link))
|
/PHP-5.5/ext/interbase/tests/ |
H A D | 003.phpt | 2 InterBase: misc sql types (may take a while)
|