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

/PHP_5_6/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_6/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_6/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)
55 if (!query_len) {
62 if (query_len > 0) {
69 query_len,
93 if (query && query_len) {
94 statement->last_query = estrndup(query, query_len);
95 statement->last_query_len = query_len;
H A Dphp_oci8_int.h470 php_oci_statement *php_oci_statement_create(php_oci_connection *connection, char *query, int query_len TSRMLS_DC);
H A Doci8_interface.c1697 int query_len; local
1699 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs", &z_connection, &query, &query_len) == FAILURE) {
1705 statement = php_oci_statement_create(connection, query, query_len TSRMLS_CC);
/PHP_5_6/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_6/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_6/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);
1868 int query_len; local
1872 if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Os",&mysql_link, mysqli_link_class_entry, &query, &query_len) == FAILURE) {
1887 if (mysql_stmt_prepare(stmt->stmt, query, query_len)) {
1916 if (stmt->stmt && query_len && (MyG(report_mode) & MYSQLI_REPORT_INDEX)) {
1917 stmt->query = (char *)emalloc(query_len + 1);
1918 memcpy(stmt->query, query, query_len);
1919 stmt->query[query_len]
1959 int query_len; local
2496 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) {
594 if (mysqli_async_query(mysql->mysql, query, query_len)) {
603 if (mysql_real_query(mysql->mysql, query, query_len)) {
1098 unsigned int query_len = spprintf(&query, 0, "START TRANSACTION%s %s", local
1106 ret = mysql_real_query(conn, query, query_len);
1161 unsigned int query_len = spprintf(&query, 0, release? "RELEASE SAVEPOINT `%s`":"SAVEPOINT `%s`", name); local
[all...]
/PHP_5_6/ext/mysqlnd/
H A Dmysqlnd.h115 #define mysqlnd_query(conn, query_str, query_len) ((conn)->data)->m->query((conn)->data, (query_str), (query_len) TSRMLS_CC)
116 #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.c1181 MYSQLND_METHOD(mysqlnd_conn_data, query)(MYSQLND_CONN_DATA * conn, const char * query, unsigned int query_len TSRMLS_DC)
1189 if (PASS == conn->m->send_query(conn, query, query_len TSRMLS_CC) &&
1206 MYSQLND_METHOD(mysqlnd_conn_data, send_query)(MYSQLND_CONN_DATA * conn, const char * query, unsigned int query_len TSRMLS_DC)
1215 ret = conn->m->simple_command(conn, COM_QUERY, (zend_uchar *) query, query_len,
1821 size_t query_len = mnd_sprintf(&query, 0, "SET NAMES %s", csname); local
1823 if (FAIL == (ret = conn->m->query(conn, query, query_len TSRMLS_CC))) {
2788 size_t query_len; local
2791 query_len = mnd_sprintf(&query, 0, (commit? "COMMIT%s %s":"ROLLBACK%s %s"),
2803 ret = conn->m->query(conn, query, query_len TSRMLS_CC);
2855 unsigned int query_len local
2888 unsigned int query_len; local
2920 unsigned int query_len; local
[all...]
H A Dmysqlnd_ps.c378 MYSQLND_METHOD(mysqlnd_stmt, prepare)(MYSQLND_STMT * const s, const char * const query, unsigned int query_len TSRMLS_DC)
419 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) ||
H A Dmysqlnd_structs.h420 typedef enum_func_status (*func_mysqlnd_conn_data__query)(MYSQLND_CONN_DATA * conn, const char * query, unsigned int query_len TSRMLS_DC);
421 typedef enum_func_status (*func_mysqlnd_conn_data__send_query)(MYSQLND_CONN_DATA * conn, const char *query, unsigned int query_len TSRMLS_DC);
749 typedef enum_func_status (*func_mysqlnd_stmt__prepare)(MYSQLND_STMT * const stmt, const char * const query, unsigned int query_len TSRMLS_DC);
/PHP_5_6/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_6/ext/pgsql/
H A Dpgsql.c1825 int id = -1, query_len, argc = ZEND_NUM_ARGS(); local
1833 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &query, &query_len) == FAILURE) {
1839 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs", &pgsql_link, &query, &query_len) == FAILURE) {
1925 int query_len, id = -1, argc = ZEND_NUM_ARGS(); local
1935 if (zend_parse_parameters(argc TSRMLS_CC, "sa", &query, &query_len, &pv_param_arr) == FAILURE) {
1941 if (zend_parse_parameters(argc TSRMLS_CC, "rsa", &pgsql_link, &query, &query_len, &pv_param_arr) == FAILURE) {
2048 int query_len, stmtname_len, id = -1, argc = ZEND_NUM_ARGS(); local
2056 if (zend_parse_parameters(argc TSRMLS_CC, "ss", &stmtname, &stmtname_len, &query, &query_len) == FAILURE) {
2062 if (zend_parse_parameters(argc TSRMLS_CC, "rss", &pgsql_link, &stmtname, &stmtname_len, &query, &query_len) == FAILURE) {
3990 int query_len, i local
4882 int query_len, id = -1; local
4992 int stmtname_len, query_len, id = -1; local
[all...]
/PHP_5_6/ext/pdo_pgsql/
H A Dpgsql_driver.c573 int query_len; local
581 query_len = Z_STRLEN_PP(tmp);
582 if (query[query_len - 1] != '\n') {
583 query[query_len++] = '\n';
585 query[query_len] = '\0';
586 if (PQputCopyData(H->server, query, query_len) != 1) {

Completed in 146 milliseconds