| /PHP_5_4/ext/pgsql/ |
| H A D | mysql_users.php | 22 $query = ' variable 31 return pg_query($db, $query); 41 $query = " variable 53 return pg_query($db, $query); 64 $query = " variable 79 return pg_query($db, $query);
|
| H A D | pgsql.c | 157 ZEND_ARG_INFO(0, query) 163 ZEND_ARG_INFO(0, query) 172 ZEND_ARG_INFO(0, query) 391 ZEND_ARG_INFO(0, query) 471 ZEND_ARG_INFO(0, query) 477 ZEND_ARG_INFO(0, query) 486 ZEND_ARG_INFO(0, query) 581 /* query functions */ 1576 /* {{{ proto resource pg_query([resource connection,] string query) 1577 Execute a query */ 1581 char *query; local 1681 char *query; local 1804 char *query, *stmtname; local 3710 char *query; local 3750 char *query; local 3888 char *query; local 4570 char *query; local 4618 char *query; local 4703 char *query, *stmtname; local [all...] |
| /PHP_5_4/ext/phar/tests/files/ |
| H A D | pear2coverage.phar.php | 965 $query = ' 988 $worked = $this->db->exec($query); 995 $query = ' 1005 $worked = $this->db->exec($query); 1012 $query = ' 1018 $worked = $this->db->exec($query); 1025 $query = ' 1032 $worked = $this->db->exec($query); 1039 $query = ' 1053 $worked = $this->db->exec($query); 962 $query = ' variable 992 $query = ' variable 1009 $query = ' variable 1022 $query = ' variable 1036 $query = ' variable 1062 $query = 'SELECT t.testpath, c.linenumber variable 1083 $query = 'SELECT testpath from tests ORDER BY testpath'; variable 1100 $query = 'SELECT DISTINCT filepath variable 1107 $query = 'SELECT DISTINCT filepath variable 1130 $query = 'SELECT filepath from files ORDER BY filepath'; variable 1132 $query = 'SELECT filepath from files WHERE issource=1 ORDER BY filepath'; variable 1161 $query = 'SELECT COUNT(linenumber),filepath FROM coverage_per_file, files variable 1174 $query = 'SELECT COUNT(linenumber),filepath FROM coverage_per_file, files variable 1207 $query = 'SELECT COUNT(linenumber) variable 1222 $query = 'SELECT COUNT(linenumber) variable 1244 $query = 'SELECT iscovered as coverage, linenumber FROM coverage variable 1262 $query = 'SELECT id FROM files WHERE filepath=:filepath'; variable 1276 $query = 'SELECT id FROM tests WHERE testpath=:filepath'; variable 1305 $query = 'INSERT INTO tests variable 1315 $query = 'INSERT INTO xdebugs variable 1328 $query = 'SELECT xdebugpathmd5 FROM xdebugs variable 1351 $query = 'SELECT id FROM files WHERE filepath=:filepath'; variable 1358 $query = 'UPDATE files SET filepathmd5=:md5 WHERE filepath=:filepath'; variable 1369 $query = 'INSERT INTO files variable 1385 $query = 'SELECT coveragecount FROM coverage_per_file variable 1401 $query = 'SELECT coverage, linenumber FROM coverage_per_file variable 1423 $query = 'SELECT SUM(iscovered) as coverage, linenumber FROM coverage WHERE files_id=' . $id . ' variable 1440 $query = 'DELETE FROM coverage_per_file'; variable 1447 $query = 'INSERT INTO coverage_per_file variable 1479 $query = 'INSERT INTO coverage variable 1516 $query = ' variable 1526 $query = ' variable 1546 $query = ' variable [all...] |
| /PHP_5_4/ext/interbase/ |
| H A D | ibase_query.c | 52 struct _ib_query *query; member in struct:__anon104 71 char *query; member in struct:_ib_query 99 #define LE_QUERY "Firebird/InterBase query" 146 if (ib_result->query != NULL) { 147 IBDEBUG("query still valid; don't drop statement handle"); 148 ib_result->query->result = NULL; /* Indicate to query, that result is released */ 159 IBDEBUG("Freeing query..."); 169 ib_query->result->query = NULL; /* Indicate to result, that query i 317 _php_ibase_alloc_query(ibase_query *ib_query, ibase_db_link *link, ibase_trans *trans, char *query, unsigned short dialect, int trans_res_id TSRMLS_DC) argument 1064 char *query; local 1740 char *query; local 1785 zval *query, ***args = NULL; local [all...] |
| H A D | interbase.c | 160 ZEND_ARG_INFO(0, query) 201 ZEND_ARG_INFO(0, query) 205 ZEND_ARG_INFO(0, query) 211 ZEND_ARG_INFO(0, query) 224 ZEND_ARG_INFO(0, query) 228 ZEND_ARG_INFO(0, query) 1417 char query[128], *generator; local 1439 snprintf(query, sizeof(query), "SELECT GEN_ID(%s,%ld) FROM rdb$database", generator, inc); 1451 /* execute the query */ [all...] |
| /PHP_5_4/ext/mssql/ |
| H A D | php_mssql.c | 68 ZEND_ARG_INFO(0, query) 1317 /* {{{ proto resource mssql_query(string query [, resource conn_id [, int batch_size]]) 1318 Perform an SQL query on a MS-SQL server database */ 1321 char *query; local 1332 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|rl", &query, &query_len, &mssql_link_index, &zbatchsize) == FAILURE) { 1348 if (dbcmd(mssql_ptr->link, query)==FAIL) { 1349 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to set query"); 1393 Returns the number of records affected by the query */ 1689 Gets information about certain fields in a query result */
|
| /PHP_5_4/ext/mysqli/ |
| H A D | mysqli_nonapi.c | 517 /* {{{ proto bool mysqli_multi_query(object link, string query) 523 char *query = NULL; local 526 if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Os", &mysql_link, mysqli_link_class_entry, &query, &query_len) == FAILURE) { 532 if (mysql_real_query(mysql->mysql, query, query_len)) { 561 /* {{{ proto mixed mysqli_query(object link, string query [,int resultmode]) */ 568 char *query = NULL; local 572 if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Os|l", &mysql_link, mysqli_link_class_entry, &query, &query_len, &resultmode) == FAILURE) { 577 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Empty query"); 592 if (mysqli_async_query(mysql->mysql, query, query_len)) { 601 if (mysql_real_query(mysql->mysql, query, query_le [all...] |
| H A D | mysqli_report.c | 57 void php_mysqli_report_index(const char *query, unsigned int status TSRMLS_DC) { argument 67 php_mysqli_throw_sql_exception("00000", 0 TSRMLS_CC, "%s used in query/prepared statement %s", index, query);
|
| H A D | php_mysqli_structs.h | 118 char *query; member in struct:__anon123
|
| H A D | mysqli_api.c | 847 php_mysqli_report_index(stmt->query, mysqli_stmt_server_status(stmt->stmt) TSRMLS_CC); 1194 Fetch the number of fields returned by the last query for the given link 1251 Free query result memory for the given result handle */ 1351 Get information about the most recent query */ 1518 check if there any more query results from a multi query */ 1556 check if there any more query results from a multi query */ 1776 /* {{{ proto mixed mysqli_prepare(object link, string query) 1782 char *query local 1869 char *query = NULL; local 2386 char *query; local [all...] |
| /PHP_5_4/ext/oci8/ |
| H A D | oci8_interface.c | 1715 char *query; local 1718 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs", &z_connection, &query, &query_len) == FAILURE) { 1724 statement = php_oci_statement_create(connection, query, query_len TSRMLS_CC); 2039 Return the query type of an OCI statement */
|
| H A D | oci8_statement.c | 46 php_oci_statement *php_oci_statement_create (php_oci_connection *connection, char *query, int query_len TSRMLS_DC) argument 65 (text *)query, 85 if (query && query_len) { 86 statement->last_query = estrndup(query, query_len); 449 /* if we execute refcursors we don't have a query and 685 statement->stmt, /* IN/OUT handle to the requested SQL query */ 703 statement->stmt, /* IN/OUT handle to the requested SQL query */
|
| /PHP_5_4/ext/odbc/ |
| H A D | birdstep.c | 348 char *query; local 357 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ls", &ind, &query, &query_len) == FAILURE) { 370 stat = SQLExecDirect(res->hstmt,query,SQL_NTS); 372 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Birdstep: Cannot execute \"%s\" query",query); 377 /* Success query */ 385 if ( !cols ) { /* Was INSERT, UPDATE, DELETE, etc. query */ 396 } else { /* Was SELECT query */
|
| H A D | php_odbc.c | 85 ZEND_ARG_INFO(0, query) 106 ZEND_ARG_INFO(0, query) 1137 /* {{{ proto resource odbc_prepare(resource connection_id, string query) 1142 char *query; local 1151 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs", &pv_conn, &query, &query_len) == FAILURE) { 1190 rc = SQLPrepare(result->stmt, query, SQL_NTS); 1563 /* {{{ proto resource odbc_exec(resource connection_id, string query [, int flags]) 1570 char *query; local 1581 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs|l", &pv_conn, &query, &query_len, &pv_flags) == FAILURE) { 1618 rc = SQLExecDirect(result->stmt, query, SQL_NT [all...] |
| /PHP_5_4/ext/pdo_pgsql/ |
| H A D | pgsql_driver.c | 258 /* query was re-written */ 270 S->query = nsql; 272 S->query = estrdup(sql); 389 } else /* emulate above via a query */ 520 char *query; local 540 spprintf(&query, 0, "COPY %s (%s) FROM STDIN DELIMITERS E'%c' WITH NULL AS E'%s'", table_name, pg_fields, (pg_delim_len ? *pg_delim : '\t'), (pg_null_as_len ? pg_null_as : "\\\\N")); 542 spprintf(&query, 0, "COPY %s FROM STDIN DELIMITERS E'%c' WITH NULL AS E'%s'", table_name, (pg_delim_len ? *pg_delim : '\t'), (pg_null_as_len ? pg_null_as : "\\\\N")); 551 pgsql_result = PQexec(H->server, query); 553 efree(query); 554 query 626 char *query; local 718 char *query; local 807 char *query; local [all...] |
| H A D | php_pdo_pgsql_int.h | 71 char *query; member in struct:__anon173
|
| /PHP_5_4/ext/simplexml/ |
| H A D | simplexml.c | 1243 Runs XPath query on the XML data */ 1248 char *query; local 1257 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &query, &query_len) == FAILURE) { 1288 retval = xmlXPathEval((xmlChar *)query, sxe->xpath); 1331 Creates a prefix/ns context for the next XPath query */
|
| /PHP_5_4/ext/standard/ |
| H A D | url.c | 54 if (theurl->query) 55 efree(theurl->query); 220 char *query, *fragment; local 222 query = memchr(s, '?', (ue - s)); 225 if (query && fragment) { 226 if (query > fragment) { 229 e = query; 231 } else if (query) { 232 e = query; 342 ret->query [all...] |
| H A D | url.h | 30 char *query; member in struct:php_url
|
| /PHP_5_4/ext/sybase_ct/ |
| H A D | php_sybase_ct.c | 72 ZEND_ARG_INFO(0, query) 77 ZEND_ARG_INFO(0, query) 1305 * 1) Being able to fire up another query without explicitly reading all rows 1428 char *query; local 1440 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|rb", &query, &len, &sybase_link_index, &store) == FAILURE) { 1465 php_error_docref(NULL TSRMLS_CC, E_NOTICE, "Sybase: Called without first fetching all rows from a previous unbuffered query"); 1496 if (ct_command(sybase_ptr->cmd, CS_LANG_CMD, query, CS_NULLTERM, CS_UNUSED)!=CS_SUCCEED) { 1638 /* If query completed without deadlock, break out of the loop. 1670 /* {{{ proto int sybase_query(string query [, resource link_id]) 1671 Send Sybase query */ [all...] |
| /PHP_5_4/ext/mysqlnd/ |
| H A D | mysqlnd_structs.h | 398 typedef enum_func_status (*func_mysqlnd_conn_data__query)(MYSQLND_CONN_DATA * conn, const char * query, unsigned int query_len TSRMLS_DC); 399 typedef enum_func_status (*func_mysqlnd_conn_data__send_query)(MYSQLND_CONN_DATA * conn, const char *query, unsigned int query_len TSRMLS_DC); 431 typedef MYSQLND_RES * (*func_mysqlnd_conn_data__list_method)(MYSQLND_CONN_DATA * conn, const char * query, const char * achtung_wild, char *par1 TSRMLS_DC); 478 func_mysqlnd_conn_data__query query; member in struct:st_mysqlnd_conn_data_methods 672 typedef enum_func_status (*func_mysqlnd_stmt__prepare)(MYSQLND_STMT * const stmt, const char * const query, unsigned int query_len TSRMLS_DC); 855 /* Temporary storage between query and (use|store)_result() call */
|
| H A D | mysqlnd.c | 912 if (PASS != conn->m->query(conn, command, strlen(command) TSRMLS_CC)) { 1030 /* {{{ mysqlnd_conn_data::query */ 1033 Still the result from the query is PASS 1036 MYSQLND_METHOD(mysqlnd_conn_data, query)(MYSQLND_CONN_DATA * conn, const char * query, unsigned int query_len TSRMLS_DC) 1038 size_t this_func = STRUCT_OFFSET(struct st_mysqlnd_conn_data_methods, query); 1040 DBG_ENTER("mysqlnd_conn_data::query"); 1041 DBG_INF_FMT("conn=%llu query=%s", conn->thread_id, query); 1044 if (PASS == conn->m->send_query(conn, query, query_le 1659 char * query; local [all...] |
| /PHP_5_4/ext/mysql/ |
| H A D | php_mysql.c | 172 ZEND_ARG_INFO(0, query) 178 ZEND_ARG_INFO(0, query) 379 php_error_docref(NULL TSRMLS_CC, E_NOTICE, "Function called without first fetching all rows from a previous unbuffered query"); \ 398 php_error_docref(NULL TSRMLS_CC, E_NOTICE, "Function called without first fetching all rows from a previous unbuffered query"); \ 1237 Returns a string containing information about the most recent query */ 1441 static void php_mysql_do_query_general(char *query, int query_len, zval *mysql_link, int link_id, char *db, int use_store, zval *return_value TSRMLS_DC) argument 1461 if (!strncasecmp("select", query, 6)){ 1465 int newql = spprintf (&newquery, 0, "EXPLAIN %s", query); 1476 php_error_docref("http://www.mysql.com/doc" TSRMLS_CC, E_WARNING, "Your query requires a full tablescan (table %s, %s rows affected). Use EXPLAIN to optimize your query 1534 char *query; local 1574 char *db, *query; local [all...] |