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

/PHP_5_5/ext/oci8/
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;
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);
/PHP_5_5/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.c1166 int query_len; local
1174 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs", &pv_conn, &query, &query_len) == FAILURE) {
1594 int numArgs, query_len; local
1604 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs|l", &pv_conn, &query, &query_len, &pv_flags) == FAILURE) {
/PHP_5_5/ext/mssql/
H A Dphp_mssql.c1328 int query_len, retvalue, batchsize, num_fields; local
1337 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|rl", &query, &query_len, &mssql_link_index, &zbatchsize) == FAILURE) {
/PHP_5_5/ext/mysql/
H A Dphp_mysql.c1445 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
1493 if (mysql_real_query(mysql->conn, query, query_len)!=0) {
1539 int query_len; local
1543 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|r", &query, &query_len, &mysql_link) == FAILURE) {
1552 php_mysql_do_query_general(query, query_len, mysql_link, id, NULL, use_store, return_value TSRMLS_CC);
1579 int db_len, query_len; local
1583 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss|r", &db, &db_len, &query, &query_len, &mysql_link) == FAILURE) {
1594 php_mysql_do_query_general(query, query_len, mysql_link, id, db, MYSQL_STORE_RESULT, return_value TSRMLS_CC);
/PHP_5_5/ext/mysqlnd/
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.h417 typedef enum_func_status (*func_mysqlnd_conn_data__query)(MYSQLND_CONN_DATA * conn, const char * query, unsigned int query_len TSRMLS_DC);
418 typedef enum_func_status (*func_mysqlnd_conn_data__send_query)(MYSQLND_CONN_DATA * conn, const char *query, unsigned int query_len TSRMLS_DC);
714 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.c1154 MYSQLND_METHOD(mysqlnd_conn_data, query)(MYSQLND_CONN_DATA * conn, const char * query, unsigned int query_len TSRMLS_DC)
1162 if (PASS == conn->m->send_query(conn, query, query_len TSRMLS_CC) &&
1179 MYSQLND_METHOD(mysqlnd_conn_data, send_query)(MYSQLND_CONN_DATA * conn, const char * query, unsigned int query_len TSRMLS_DC)
1188 ret = conn->m->simple_command(conn, COM_QUERY, (zend_uchar *) query, query_len,
1795 size_t query_len = mnd_sprintf(&query, 0, "SET NAMES %s", csname); local
1797 if (FAIL == (ret = conn->m->query(conn, query, query_len TSRMLS_CC))) {
2741 size_t query_len; local
2744 query_len = mnd_sprintf(&query, 0, (commit? "COMMIT%s %s":"ROLLBACK%s %s"),
2756 ret = conn->m->query(conn, query, query_len TSRMLS_CC);
2808 unsigned int query_len local
2841 unsigned int query_len; local
2873 unsigned int query_len; local
[all...]
H A Dmysqlnd_ps.c361 MYSQLND_METHOD(mysqlnd_stmt, prepare)(MYSQLND_STMT * const s, const char * const query, unsigned int query_len TSRMLS_DC)
402 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_5/ext/mysqli/
H A Dmysqli_api.c123 size_t query_len; local
125 query_len = spprintf(&query, 0, (commit? "COMMIT%s %s":"ROLLBACK%s %s"),
133 ret = mysql_real_query(conn, query, query_len);
1860 int query_len; local
1864 if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Os",&mysql_link, mysqli_link_class_entry, &query, &query_len) == FAILURE) {
1879 if (mysql_stmt_prepare(stmt->stmt, query, query_len)) {
1908 if (stmt->stmt && query_len && (MyG(report_mode) & MYSQLI_REPORT_INDEX)) {
1909 stmt->query = (char *)emalloc(query_len + 1);
1910 memcpy(stmt->query, query, query_len);
1911 stmt->query[query_len]
1951 int query_len; local
2488 int query_len; local
[all...]
H A Dmysqli_nonapi.c522 int query_len; 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)) {
567 int query_len; 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) {
574 if (!query_len) {
590 if (mysqli_async_query(mysql->mysql, query, query_len)) {
599 if (mysql_real_query(mysql->mysql, query, query_len)) {
1085 unsigned int query_len = spprintf(&query, 0, "START TRANSACTION%s %s", local
1093 ret = mysql_real_query(conn, query, query_len);
1148 unsigned int query_len = spprintf(&query, 0, release? "RELEASE SAVEPOINT `%s`":"SAVEPOINT `%s`", name); local
[all...]
/PHP_5_5/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_5/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_5/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
4705 int query_len, id = -1; local
4799 int stmtname_len, query_len, id = -1; local
[all...]
/PHP_5_5/ext/pdo_pgsql/
H A Dpgsql_driver.c579 int query_len; local
587 query_len = Z_STRLEN_PP(tmp);
588 if (query[query_len - 1] != '\n') {
589 query[query_len++] = '\n';
591 query[query_len] = '\0';
592 if (PQputCopyData(H->server, query, query_len) != 1) {

Completed in 57 milliseconds