Searched refs:query_len (Results 1 - 16 of 16) sorted by relevance

/PHP_5_3/ext/interbase/
H A Dibase_query.c1065 int bind_i, query_len, bind_num; local
1081 &zlink, &ztrans, &query, &query_len)) {
1092 &zlink, &query, &query_len)) {
1104 TSRMLS_CC, "ls", &l, &query, &query_len) && l == PHP_IBASE_CREATE) {
1116 } else if (isc_dsql_execute_immediate(IB_STATUS, &db, &trans, (short)query_len,
1144 &query_len)) {
1743 int query_len, trans_res_id = 0; local
1750 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &query, &query_len) == FAILURE) {
1755 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs", &link_arg, &query, &query_len) == FAILURE) {
1764 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rrs", &link_arg, &trans_arg, &query, &query_len)
[all...]
/PHP_5_3/ext/mssql/
H A Dphp_mssql.c1323 int query_len, retvalue, batchsize, num_fields; local
1332 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|rl", &query, &query_len, &mssql_link_index, &zbatchsize) == FAILURE) {
/PHP_5_3/ext/mysqli/
H A Dmysqli_api.c1773 int query_len; local
1777 if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Os",&mysql_link, mysqli_link_class_entry, &query, &query_len) == FAILURE) {
1792 if (mysql_stmt_prepare(stmt->stmt, query, query_len)) {
1821 if (stmt->stmt && query_len && (MyG(report_mode) & MYSQLI_REPORT_INDEX)) {
1822 stmt->query = (char *)emalloc(query_len + 1);
1823 memcpy(stmt->query, query, query_len);
1824 stmt->query[query_len] = '\0';
1860 int query_len; local
1862 if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Os", &mysql_link, mysqli_link_class_entry, &query, &query_len) == FAILURE) {
1869 if (mysql_real_query(mysql->mysql, query, query_len)) {
2377 int query_len; local
[all...]
H A Dmysqli_nonapi.c448 int query_len; local
450 if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Os", &mysql_link, mysqli_link_class_entry, &query, &query_len) == FAILURE) {
456 if (mysql_real_query(mysql->mysql, query, query_len)) {
493 int query_len; local
496 if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Os|l", &mysql_link, mysqli_link_class_entry, &query, &query_len, &resultmode) == FAILURE) {
500 if (!query_len) {
516 if (mysqli_async_query(mysql->mysql, query, query_len)) {
525 if (mysql_real_query(mysql->mysql, query, query_len)) {
/PHP_5_3/ext/oci8/
H A Doci8_interface.c1716 int query_len; 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);
H A Doci8_statement.c46 php_oci_statement *php_oci_statement_create (php_oci_connection *connection, char *query, int query_len TSRMLS_DC)
52 if (!query_len) {
59 if (query_len > 0) {
66 query_len,
85 if (query && query_len) {
86 statement->last_query = estrndup(query, query_len);
87 statement->last_query_len = query_len;
/PHP_5_3/ext/odbc/
H A Dbirdstep.c350 int query_len, indx; local
357 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ls", &ind, &query, &query_len) == FAILURE) {
H A Dphp_odbc.c1143 int query_len; local
1151 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs", &pv_conn, &query, &query_len) == FAILURE) {
1577 int numArgs, query_len; local
1587 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs|l", &pv_conn, &query, &query_len, &pv_flags) == FAILURE) {
/PHP_5_3/ext/simplexml/
H A Dsimplexml.c1215 int query_len; local
1223 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &query, &query_len) == FAILURE) {
/PHP_5_3/ext/mysqlnd/
H A Dmysqlnd.h128 #define mysqlnd_query(conn, query_str, query_len) (conn)->m->query((conn), (query_str), (query_len) TSRMLS_CC)
129 #define mysqlnd_async_query(conn, query_str, query_len) (conn)->m->send_query((conn), (query_str), (query_len) TSRMLS_CC)
H A Dmysqlnd_structs.h343 typedef enum_func_status (*func_mysqlnd_conn__query)(MYSQLND *conn, const char *query, unsigned int query_len TSRMLS_DC);
344 typedef enum_func_status (*func_mysqlnd_conn__send_query)(MYSQLND *conn, const char *query, unsigned int query_len TSRMLS_DC);
601 typedef enum_func_status (*func_mysqlnd_stmt__prepare)(MYSQLND_STMT * const stmt, const char * const query, unsigned int query_len TSRMLS_DC);
H A Dmysqlnd.c1042 MYSQLND_METHOD(mysqlnd_conn, query)(MYSQLND * conn, const char * query, unsigned int query_len TSRMLS_DC)
1048 if (PASS == conn->m->send_query(conn, query, query_len TSRMLS_CC) &&
1063 MYSQLND_METHOD(mysqlnd_conn, send_query)(MYSQLND * conn, const char * query, unsigned int query_len TSRMLS_DC)
1069 ret = conn->m->simple_command(conn, COM_QUERY, query, query_len,
1583 size_t query_len; local
1595 query_len = spprintf(&query, 0, "SET NAMES %s", csname);
1597 if (FAIL == conn->m->query(conn, query, query_len TSRMLS_CC)) {
H A Dmysqlnd_ps.c361 MYSQLND_METHOD(mysqlnd_stmt, prepare)(MYSQLND_STMT * const s, const char * const query, unsigned int query_len TSRMLS_DC)
401 if (FAIL == stmt_to_prepare->conn->m->simple_command(stmt_to_prepare->conn, COM_STMT_PREPARE, query, query_len, PROT_LAST, FALSE, TRUE TSRMLS_CC) ||
/PHP_5_3/ext/mysql/
H A Dphp_mysql.c1411 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
1459 if (mysql_real_query(mysql->conn, query, query_len)!=0) {
1505 int query_len; local
1509 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|r", &query, &query_len, &mysql_link) == FAILURE) {
1518 php_mysql_do_query_general(query, query_len, mysql_link, id, NULL, use_store, return_value TSRMLS_CC);
1545 int db_len, query_len; local
1549 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss|r", &db, &db_len, &query, &query_len, &mysql_link) == FAILURE) {
1560 php_mysql_do_query_general(query, query_len, mysql_link, id, db, MYSQL_STORE_RESULT, return_value TSRMLS_CC);
/PHP_5_3/ext/pgsql/
H A Dpgsql.c1563 int id = -1, query_len, argc = ZEND_NUM_ARGS(); local
1571 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &query, &query_len) == FAILURE) {
1577 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs", &pgsql_link, &query, &query_len) == FAILURE) {
1663 int query_len, id = -1, argc = ZEND_NUM_ARGS(); local
1673 if (zend_parse_parameters(argc TSRMLS_CC, "sa", &query, &query_len, &pv_param_arr) == FAILURE) {
1679 if (zend_parse_parameters(argc TSRMLS_CC, "rsa", &pgsql_link, &query, &query_len, &pv_param_arr) == FAILURE) {
1786 int query_len, stmtname_len, id = -1, argc = ZEND_NUM_ARGS(); local
1794 if (zend_parse_parameters(argc TSRMLS_CC, "ss", &stmtname, &stmtname_len, &query, &query_len) == FAILURE) {
1800 if (zend_parse_parameters(argc TSRMLS_CC, "rss", &pgsql_link, &stmtname, &stmtname_len, &query, &query_len) == FAILURE) {
3713 int query_len, i local
4496 int query_len, id = -1; local
4581 int stmtname_len, query_len, id = -1; local
[all...]
/PHP_5_3/ext/pdo_pgsql/
H A Dpgsql_driver.c562 int query_len; local
570 query_len = Z_STRLEN_PP(tmp);
571 if (query[query_len - 1] != '\n') {
572 query[query_len++] = '\n';
574 query[query_len] = '\0';
575 if (PQputCopyData(H->server, query, query_len) != 1) {

Completed in 81 milliseconds