| /PHP_TRUNK/ext/mysqli/tests/ |
| H A D | connect.inc | 133 if (($res = $link->query("SHOW VARIABLES LIKE 'have_innodb'")) && 142 if ($res = $link->query("SHOW ENGINES")) {
|
| /PHP_TRUNK/ext/pdo/ |
| H A D | pdo.php | 8 $x->query("create table test(name string, value string)"); 28 foreach ($x->query("select NAME, VALUE from test") as $row) { 40 foreach ($x->query("select NAME, VALUE from test", PDO_FETCH_COLUMN, 1) as $row) {
|
| /PHP_TRUNK/ext/pdo/tests/ |
| H A D | pdo.inc | 3 function set_sql($name, $query) 7 $GLOBALS['SQL'][$name] = $query;
|
| /PHP_TRUNK/ext/pdo_mysql/tests/ |
| H A D | mysql_pdo_test.inc | 145 foreach ($db->query("show variables like 'have%'") as $row) { 151 foreach ($db->query("SHOW ENGINES") as $row) {
|
| /PHP_TRUNK/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_TRUNK/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_TRUNK/ext/soap/interop/ |
| H A D | client_round2_interop.php | 115 $res = $this->dbc->query("update endpoints set status = 0 where class='$test'"); 123 $res = $this->dbc->query("update endpoints set endpointURL='{$v->endpointURL}', wsdlURL='{$v->wsdlURL}', status=1 where id={$this->endpoints[$v->endpointName]['id']}"); 125 $res = $this->dbc->query("insert into endpoints (endpointName,endpointURL,wsdlURL,class) values('{$v->endpointName}','{$v->endpointURL}','{$v->wsdlURL}','$test')"); 279 $res = $this->dbc->query($sql); 293 $res = $this->dbc->query($sql);
|
| /PHP_TRUNK/ext/sybase_ct/tests/ |
| H A D | test.inc | 63 // {{{ void sybase_select_ex(resource dbh, string query) 64 // Returns all fetched rows from an SQL query 65 function sybase_select_ex($dbh, $query) { 66 printf(">>> Query: %s\n", $query); 67 $h= sybase_query($query, $dbh); 79 // {{{ mixed sybase_select_single(resource dbh, string query) 80 // Fires an SQL query and returns the first value from the first row 81 function sybase_select_single($dbh, $query) { 82 $a = sybase_fetch_row(sybase_query($query, $dbh));
|
| /PHP_TRUNK/ext/interbase/ |
| H A D | ibase_query.c | 52 struct _ib_query *query; member in struct:__anon106 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_TRUNK/ext/mysqli/ |
| H A D | mysqli_priv.h | 78 extern void php_mysqli_report_index(const char *query, unsigned int status TSRMLS_DC);
|
| 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 | mysqli_fe.c | 255 ZEND_ARG_INFO(0, query) 260 ZEND_ARG_INFO(0, query) 265 ZEND_ARG_INFO(0, query) 269 ZEND_ARG_INFO(0, query) 543 PHP_FALIAS(query, mysqli_query, arginfo_class_mysqli_query)
|
| H A D | mysqli_nonapi.c | 515 /* {{{ proto bool mysqli_multi_query(object link, string query) 521 char *query = NULL; local 524 if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Os", &mysql_link, mysqli_link_class_entry, &query, &query_len) == FAILURE) { 530 if (mysql_real_query(mysql->mysql, query, query_len)) { 559 /* {{{ proto mixed mysqli_query(object link, string query [,int resultmode]) */ 566 char *query = NULL; local 570 if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Os|l", &mysql_link, mysqli_link_class_entry, &query, &query_len, &resultmode) == FAILURE) { 575 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Empty query"); 590 if (mysqli_async_query(mysql->mysql, query, query_len)) { 599 if (mysql_real_query(mysql->mysql, query, query_le 1079 char * query; local 1141 char * query; local [all...] |
| H A D | mysqli_api.c | 683 char * query; local 684 unsigned int query_len = spprintf(&query, 0, (commit? "COMMIT%s %s":"ROLLBACK%s %s"), 688 ret = mysql_real_query(conn, query, query_len); 689 efree(query); 923 php_mysqli_report_index(stmt->query, mysqli_stmt_server_status(stmt->stmt) TSRMLS_CC); 1270 Fetch the number of fields returned by the last query for the given link 1327 Free query result memory for the given result handle */ 1433 Get information about the most recent query */ 1544 check if there any more query results from a multi query */ 1811 char *query = NULL; local 1898 char *query = NULL; local 2431 char *query; local [all...] |
| /PHP_TRUNK/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 */
|
| /PHP_TRUNK/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 | pgsql_statement.c | 90 if (S->query) { 91 efree(S->query); 92 S->query = NULL; 168 S->result = PQprepare(H->server, S->stmt_name, S->query,
|
| H A D | php_pdo_pgsql_int.h | 71 char *query; member in struct:__anon172
|
| /PHP_TRUNK/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_TRUNK/sapi/aolserver/ |
| H A D | aolserver.c | 336 if(NSG(conn)->request->query) 337 ADD_STRINGX("QUERY_STRING", NSG(conn)->request->query); 442 SG(request_info).query_string = safe_strdup(NSG(conn->request->query));
|
| /PHP_TRUNK/sapi/thttpd/ |
| H A D | thttpd.c | 312 CONDADD(QUERY_STRING, query); 442 SG(request_info).query_string = TG(hc)->query?strdup(TG(hc)->query):NULL; 511 HANDLE_STR(query); \
|
| /PHP_TRUNK/ext/mysqlnd/ |
| H A D | mysqlnd.c | 688 if (PASS != conn->m->query(conn, command, strlen(command) TSRMLS_CC)) { 1149 /* {{{ mysqlnd_conn_data::query */ 1152 Still the result from the query is PASS 1155 MYSQLND_METHOD(mysqlnd_conn_data, query)(MYSQLND_CONN_DATA * conn, const char * query, unsigned int query_len TSRMLS_DC) 1157 size_t this_func = STRUCT_OFFSET(struct st_mysqlnd_conn_data_methods, query); 1159 DBG_ENTER("mysqlnd_conn_data::query"); 1160 DBG_INF_FMT("conn=%p conn=%llu query=%s", conn, conn->thread_id, query); 1163 if (PASS == conn->m->send_query(conn, query, query_le 1779 char * query; local 2684 char * query; local 2742 char * query; local 2775 char * query; local 2807 char * query; local [all...] |