Searched defs:sql (Results 1 - 14 of 14) sorted by relevance

/PHP_5_3/ext/phar/tests/files/
H A Dpear2coverage.phar.php940 $sql = 'SELECT version FROM analyzerversion';
941 if (@$this->db->querySingle($sql) == '2.1.0') {
937 $sql = 'SELECT version FROM analyzerversion'; variable
/PHP_5_3/ext/soap/interop/
H A Dclient_round2_interop.php195 // build sql
196 $sql = "select * from endpoints "; variable
198 $sql .= "where class='$base' ";
199 if (!$all) $sql .= "and status=1";
201 if (!$all) $sql .= "where status=1";
202 $sql .= " order by endpointName";
205 $db_ep = $this->dbc->getAll($sql,NULL, DB_FETCHMODE_ASSOC );
207 echo $sql."\n";
234 $sql = "select * from results where class='$test' and type='$type' and wsdl=$wsdl"; variable
235 $results = $this->dbc->getAll($sql,NUL
274 $sql = "delete from results where endpoint=$endpoint_id ". variable
285 $sql = "insert into results (endpoint,stamp,class,type,wsdl,function,result,error,wire) ". variable
666 $sql = "select distinct(function) from results where class='$test' order by function"; variable
[all...]
/PHP_5_3/ext/sqlite3/libsqlite/
H A Dsqlite3ext.h76 int (*complete)(const char*sql);
77 int (*complete16)(const void*sql);
192 const char *(*sql)(sqlite3_stmt*); member in struct:sqlite3_api_routines
392 #define sqlite3_sql sqlite3_api->sql
/PHP_5_3/ext/pdo_dblib/
H A Ddblib_driver.c91 static int dblib_handle_preparer(pdo_dbh_t *dbh, const char *sql, long sql_len, pdo_stmt_t *stmt, zval *driver_options TSRMLS_DC) argument
105 static long dblib_handle_doer(pdo_dbh_t *dbh, const char *sql, long sql_len TSRMLS_DC) argument
112 if (FAIL == dbcmd(H->link, sql)) {
/PHP_5_3/ext/pdo_firebird/
H A Dfirebird_driver.c137 static int firebird_handle_preparer(pdo_dbh_t *dbh, const char *sql, long sql_len, /* {{{ */ argument
157 if (!firebird_alloc_prepare_stmt(dbh, sql, sql_len, &num_sqlda, &s, np TSRMLS_CC)) {
223 static long firebird_handle_doer(pdo_dbh_t *dbh, const char *sql, long sql_len TSRMLS_DC) /* {{{ */ argument
238 if (!firebird_alloc_prepare_stmt(dbh, sql, sql_len, &out_sqlda, &stmt, 0 TSRMLS_CC)) {
396 static int firebird_alloc_prepare_stmt(pdo_dbh_t *dbh, const char *sql, long sql_len, /* {{{ */ argument
430 if ( !(in_quote ^= (sql[l] == '\''))) {
432 switch (sql[l]) {
436 *ppname++ = sql[l];
443 if ((in_param &= ((sql[l] >= 'A' && sql[
[all...]
/PHP_5_3/ext/pdo_mysql/
H A Dmysql_driver.c186 static int mysql_handle_preparer(pdo_dbh_t *dbh, const char *sql, long sql_len, pdo_stmt_t *stmt, zval *driver_options TSRMLS_DC) argument
199 PDO_DBG_INF_FMT("sql=%.*s", sql_len, sql);
215 ret = pdo_parse_params(stmt, (char*)sql, sql_len, &nsql, &nsql_len TSRMLS_CC);
219 sql = nsql;
235 if (mysql_stmt_prepare(S->stmt, sql, sql_len)) {
282 static long mysql_handle_doer(pdo_dbh_t *dbh, const char *sql, long sql_len TSRMLS_DC) argument
287 PDO_DBG_INF_FMT("sql=%.*s", sql_len, sql);
289 if (mysql_real_query(H->server, sql, sql_le
[all...]
/PHP_5_3/ext/pdo_oci/
H A Doci_driver.c249 static int oci_handle_preparer(pdo_dbh_t *dbh, const char *sql, long sql_len, pdo_stmt_t *stmt, zval *driver_options TSRMLS_DC) /* {{{ */ argument
268 ret = pdo_parse_params(stmt, (char*)sql, sql_len, &nsql, &nsql_len TSRMLS_CC);
272 sql = nsql;
288 H->last_err = OCIStmtPrepare(S->stmt, H->err, (text*)sql, sql_len, OCI_NTV_SYNTAX, OCI_DEFAULT);
325 static long oci_handle_doer(pdo_dbh_t *dbh, const char *sql, long sql_len TSRMLS_DC) /* {{{ */ argument
335 H->last_err = OCIStmtPrepare(stmt, H->err, (text*)sql, sql_len, OCI_NTV_SYNTAX, OCI_DEFAULT);
/PHP_5_3/ext/pdo_odbc/
H A Dodbc_driver.c145 static int odbc_handle_preparer(pdo_dbh_t *dbh, const char *sql, long sql_len, pdo_stmt_t *stmt, zval *driver_options TSRMLS_DC) argument
161 ret = pdo_parse_params(stmt, (char*)sql, sql_len, &nsql, &nsql_len TSRMLS_CC);
165 sql = nsql;
197 rc = SQLPrepare(S->stmt, (char*)sql, SQL_NTS);
223 static long odbc_handle_doer(pdo_dbh_t *dbh, const char *sql, long sql_len TSRMLS_DC) argument
236 rc = SQLExecDirect(stmt, (char *)sql, sql_len);
/PHP_5_3/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, zval *driver_options TSRMLS_DC) argument
196 i = sqlite3_prepare(H->db, sql, sql_len, &S->stmt, &tail);
206 static long sqlite_handle_doer(pdo_dbh_t *dbh, const char *sql, long sql_len TSRMLS_DC) argument
211 if (sqlite3_exec(H->db, sql, NULL, NULL, &errmsg) != SQLITE_OK) {
/PHP_5_3/ext/sqlite/
H A Dpdo_sqlite2.c340 static int sqlite2_handle_preparer(pdo_dbh_t *dbh, const char *sql, long sql_len, pdo_stmt_t *stmt, zval *driver_options TSRMLS_DC) argument
359 static long sqlite2_handle_doer(pdo_dbh_t *dbh, const char *sql, long sql_len TSRMLS_DC) argument
364 if ((H->einfo.errcode = sqlite_exec(H->db, sql, NULL, NULL, &errmsg)) != SQLITE_OK) {
H A Dsqlite.c132 if (!sql_len || !*sql) { \
1866 void sqlite_query(zval *object, struct php_sqlite_db *db, char *sql, long sql_len, int mode, int buffered, zval *return_value, struct php_sqlite_result **prres, zval *errmsg TSRMLS_DC) argument
1877 ret = sqlite_compile(db->db, sql, &tail, &res.vm, &errtext);
1943 char *sql; local
1951 if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|lz/", &sql, &sql_len, &mode, &errmsg)) {
1957 ZEND_NUM_ARGS() TSRMLS_CC, "sr|lz/", &sql, &sql_len, &zdb, &mode, &errmsg) &&
1958 FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs|lz/", &zdb, &sql, &sql_len, &mode, &errmsg)) {
1973 db->last_err_code = sqlite_exec(db->db, sql, NULL, NULL, &errtext);
1985 sqlite_query(object, db, sql, sql_len, (int)mode, 0, return_value, NULL, errmsg TSRMLS_CC);
1995 char *tbl, *sql; local
2070 char *sql; local
2122 char *sql; local
2490 char *sql; local
2606 char *sql; local
[all...]
/PHP_5_3/ext/sqlite3/
H A Dsqlite3.c213 char *sql, *errtext = NULL; local
219 if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &sql, &sql_len)) {
223 if (sqlite3_exec(db_obj->db, sql, NULL, NULL, &errtext) != SQLITE_OK) {
427 char *sql, *ret; local
430 if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &sql, &sql_len)) {
435 ret = sqlite3_mprintf("%q", sql);
453 char *sql; local
461 if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &sql, &sql_len)) {
476 errcode = sqlite3_prepare_v2(db_obj->db, sql, sql_len, &(stmt_obj->stmt), NULL);
502 char *sql, *errtex local
612 char *sql, *errtext = NULL; local
1587 char *sql; local
[all...]
/PHP_5_3/ext/pgsql/
H A Dpgsql.c5148 * check and convert array values (fieldname=>vlaue pair) for sql
5853 PHP_PGSQL_API int php_pgsql_insert(PGconn *pg_link, const char *table, zval *var_array, ulong opt, char **sql TSRMLS_DC)
5950 *sql = querystr.c;
5964 char *table, *sql = NULL; local
5984 if (php_pgsql_insert(pg_link, table, values, option, &sql TSRMLS_CC) == FAILURE) {
5988 RETURN_STRING(sql, 0);
6043 PHP_PGSQL_API int php_pgsql_update(PGconn *pg_link, const char *table, zval *var_array, zval *ids_array, ulong opt, char **sql TSRMLS_DC)
6106 *sql = querystr.c;
6120 char *table, *sql = NULL; local
6140 if (php_pgsql_update(pg_link, table, values, ids, option, &sql TSRMLS_C
6212 char *table, *sql = NULL; local
6353 char *table, *sql = NULL; local
[all...]
/PHP_5_3/ext/pdo_pgsql/
H A Dpgsql_driver.c213 static int pgsql_handle_preparer(pdo_dbh_t *dbh, const char *sql, long sql_len, pdo_stmt_t *stmt, zval *driver_options TSRMLS_DC) argument
255 ret = pdo_parse_params(stmt, (char*)sql, sql_len, &nsql, &nsql_len TSRMLS_CC);
259 sql = nsql;
272 S->query = estrdup(sql);
283 static long pgsql_handle_doer(pdo_dbh_t *dbh, const char *sql, long sql_len TSRMLS_DC) argument
290 if (!(res = PQexec(H->server, sql))) {

Completed in 33 milliseconds