Home
last modified time | relevance | path

Searched refs:sql (Results 76 – 100 of 114) sorted by relevance

12345

/PHP-5.5/ext/pdo_mysql/tests/
H A Dbug54929.phpt2 Bug #54929 (Parse error with single quote in sql comment (pdo-mysql))
H A Dpdo_mysql_types_zerofill.phpt16 …$sql = sprintf('CREATE TABLE test(id INT, label %s) ENGINE=%s', $sql_type, MySQLPDOTest::getTableE…
17 @$db->exec($sql);
H A Dpdo_mysql_stmt_blobfromsteam.phpt56 $sql = sprintf('CREATE TABLE test(id INT, label BLOB) ENGINE=%s', PDO_MYSQL_TEST_ENGINE);
57 $db->exec($sql);
H A Dpdo_mysql_stmt_bindparam_types.phpt24 …$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 Dpdo_mysql_types.phpt16 …$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 Dmysqli_get_charset.phpt47 …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 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 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_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)) ||
H A Dmysqli_fetch_all.phpt101 …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 Dmysqli_fetch_all_oo.phpt102 …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 Dmysqli_fetch_array.phpt79 …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 Dlocal_infile_tools.inc23 …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 Dbug51647.phpt54 /* ERROR 1064 (42000): You have an error in your SQL syntax; = sql strict mode */
H A Dbug34810.phpt35 printf("[003] Wrong sql state code: %s\n", $warning->sqlstate);
H A Dmysqli_stmt_get_warnings.phpt21 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 Dsqlite3ext.h78 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 Dphp_pdo_driver.h245 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 Dpgsql_driver.c225 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 Dsqlite_driver.c178 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 DMakefile198 $(CC) $(CFLAGS) -I. -o sql sample\sql.c $(dlllib)
/PHP-5.5/ext/pgsql/
H A Dpgsql.c6270 *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 Dmysql_pconnect.phpt39 if (!ini_get('sql.safe_mode')) {
H A Dmysql_pconn_max_links.phpt108 …$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 D003.phpt2 InterBase: misc sql types (may take a while)

Completed in 366 milliseconds

12345