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

/PHP_5_4/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_4/ext/mysql/
H A Dphp_mysql.c1441 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
1489 if (mysql_real_query(mysql->conn, query, query_len)!=0) {
1535 int query_len; local
1539 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|r", &query, &query_len, &mysql_link) == FAILURE) {
1548 php_mysql_do_query_general(query, query_len, mysql_link, id, NULL, use_store, return_value TSRMLS_CC);
1575 int db_len, query_len; local
1579 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss|r", &db, &db_len, &query, &query_len, &mysql_link) == FAILURE) {
1590 php_mysql_do_query_general(query, query_len, mysql_link, id, db, MYSQL_STORE_RESULT, return_value TSRMLS_CC);
/PHP_5_4/ext/mysqli/
H A Dmysqli_nonapi.c524 int query_len; 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)) {
569 int query_len; 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) {
576 if (!query_len) {
592 if (mysqli_async_query(mysql->mysql, query, query_len)) {
601 if (mysql_real_query(mysql->mysql, query, query_len)) {
H A Dmysqli_api.c1783 int query_len; local
1787 if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Os",&mysql_link, mysqli_link_class_entry, &query, &query_len) == FAILURE) {
1802 if (mysql_stmt_prepare(stmt->stmt, query, query_len)) {
1831 if (stmt->stmt && query_len && (MyG(report_mode) & MYSQLI_REPORT_INDEX)) {
1832 stmt->query = (char *)emalloc(query_len + 1);
1833 memcpy(stmt->query, query, query_len);
1834 stmt->query[query_len] = '\0';
1874 int query_len; local
1876 if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Os", &mysql_link, mysqli_link_class_entry, &query, &query_len) == FAILURE) {
1883 if (mysql_real_query(mysql->mysql, query, query_len)) {
2395 int query_len; local
[all...]
/PHP_5_4/ext/mysqlnd/
H A Dmysqlnd.c1035 MYSQLND_METHOD(mysqlnd_conn_data, query)(MYSQLND_CONN_DATA * conn, const char * query, unsigned int query_len TSRMLS_DC)
1043 if (PASS == conn->m->send_query(conn, query, query_len TSRMLS_CC) &&
1060 MYSQLND_METHOD(mysqlnd_conn_data, send_query)(MYSQLND_CONN_DATA * conn, const char * query, unsigned int query_len TSRMLS_DC)
1069 ret = conn->m->simple_command(conn, COM_QUERY, (zend_uchar *) query, query_len,
1668 size_t query_len = mnd_sprintf(&query, 0, "SET NAMES %s", csname); local
1670 if (FAIL == (ret = conn->m->query(conn, query, query_len TSRMLS_CC))) {
H A Dmysqlnd.h114 #define mysqlnd_query(conn, query_str, query_len) ((conn)->data)->m->query((conn)->data, (query_str), (query_len) TSRMLS_CC)
115 #define mysqlnd_async_query(conn, query_str, query_len) ((conn)->data)->m->send_query((conn)->data, (query_str), (query_len) TSRMLS_CC)
H A Dmysqlnd_structs.h398 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);
672 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_ps.c360 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, (const zend_uchar *) query, query_len, PROT_LAST, FALSE, TRUE TSRMLS_CC) ||
/PHP_5_4/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_4/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.c1165 int query_len; local
1173 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs", &pv_conn, &query, &query_len) == FAILURE) {
1593 int numArgs, query_len; local
1603 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs|l", &pv_conn, &query, &query_len, &pv_flags) == FAILURE) {
/PHP_5_4/ext/pdo_pgsql/
H A Dpgsql_driver.c571 int query_len; local
579 query_len = Z_STRLEN_PP(tmp);
580 if (query[query_len - 1] != '\n') {
581 query[query_len++] = '\n';
583 query[query_len] = '\0';
584 if (PQputCopyData(H->server, query, query_len) != 1) {
/PHP_5_4/ext/interbase/
H A Dibase_query.c1063 int bind_i, query_len, bind_num; local
1079 &zlink, &ztrans, &query, &query_len)) {
1090 &zlink, &query, &query_len)) {
1102 TSRMLS_CC, "ls", &l, &query, &query_len) && l == PHP_IBASE_CREATE) {
1114 } else if (isc_dsql_execute_immediate(IB_STATUS, &db, &trans, (short)query_len,
1142 &query_len)) {
1736 int query_len, trans_res_id = 0; local
1743 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &query, &query_len) == FAILURE) {
1748 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs", &link_arg, &query, &query_len) == FAILURE) {
1757 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rrs", &link_arg, &trans_arg, &query, &query_len)
[all...]
/PHP_5_4/ext/simplexml/
H A Dsimplexml.c1249 int query_len; local
1257 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &query, &query_len) == FAILURE) {
/PHP_5_4/ext/pgsql/
H A Dpgsql.c1714 int id = -1, query_len, argc = ZEND_NUM_ARGS(); local
1722 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &query, &query_len) == FAILURE) {
1728 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs", &pgsql_link, &query, &query_len) == FAILURE) {
1814 int query_len, id = -1, argc = ZEND_NUM_ARGS(); local
1824 if (zend_parse_parameters(argc TSRMLS_CC, "sa", &query, &query_len, &pv_param_arr) == FAILURE) {
1830 if (zend_parse_parameters(argc TSRMLS_CC, "rsa", &pgsql_link, &query, &query_len, &pv_param_arr) == FAILURE) {
1937 int query_len, stmtname_len, id = -1, argc = ZEND_NUM_ARGS(); local
1945 if (zend_parse_parameters(argc TSRMLS_CC, "ss", &stmtname, &stmtname_len, &query, &query_len) == FAILURE) {
1951 if (zend_parse_parameters(argc TSRMLS_CC, "rss", &pgsql_link, &stmtname, &stmtname_len, &query, &query_len) == FAILURE) {
3838 int query_len, i local
4704 int query_len, id = -1; local
4798 int stmtname_len, query_len, id = -1; local
[all...]

Completed in 63 milliseconds