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

/PHP_TRUNK/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)) {
1738 size_t query_len, trans_res_id = 0; local
1745 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s", &query, &query_len) == FAILURE) {
1750 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rs", &link_arg, &query, &query_len) == FAILURE) {
1759 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rrs", &link_arg, &trans_arg, &query, &query_len)
[all...]
/PHP_TRUNK/ext/mssql/
H A Dphp_mssql.c1325 int query_len, retvalue, batchsize, num_fields; local
1334 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|rl", &query, &query_len, &mssql_link_index, &zbatchsize) == FAILURE) {
/PHP_TRUNK/ext/mysql/
H A Dphp_mysql.c1466 static void php_mysql_do_query_general(php_mysql_conn *mysql, char *query, int query_len, char *db, int use_store, zval *return_value) argument
1511 if (mysql_real_query(mysql->conn, query, query_len)!=0) {
1558 size_t query_len; local
1562 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|r", &query, &query_len, &mysql_link) == FAILURE) {
1574 php_mysql_do_query_general(mysql, query, query_len, NULL, use_store, return_value);
1599 size_t db_len, query_len; local
1603 if (zend_parse_parameters(ZEND_NUM_ARGS(), "ss|r", &db, &db_len, &query, &query_len, &mysql_link) == FAILURE) {
1617 php_mysql_do_query_general(mysql, query, query_len, db, MYSQL_STORE_RESULT, return_value);
/PHP_TRUNK/ext/mysqli/
H A Dmysqli_api.c121 size_t query_len; local
123 query_len = spprintf(&query, 0,
131 ret = mysql_real_query(conn, query, query_len);
1839 size_t query_len; local
1843 if (zend_parse_method_parameters(ZEND_NUM_ARGS(), getThis(), "Os",&mysql_link, mysqli_link_class_entry, &query, &query_len) == FAILURE) {
1858 if (mysql_stmt_prepare(stmt->stmt, query, query_len)) {
1887 if (stmt->stmt && query_len && (MyG(report_mode) & MYSQLI_REPORT_INDEX)) {
1888 stmt->query = (char *)emalloc(query_len + 1);
1889 memcpy(stmt->query, query, query_len);
1890 stmt->query[query_len]
1927 size_t query_len; local
2463 size_t query_len; local
[all...]
H A Dmysqli_nonapi.c506 size_t query_len; local
508 if (zend_parse_method_parameters(ZEND_NUM_ARGS(), getThis(), "Os", &mysql_link, mysqli_link_class_entry, &query, &query_len) == FAILURE) {
514 if (mysql_real_query(mysql->mysql, query, query_len)) {
551 size_t query_len; local
554 if (zend_parse_method_parameters(ZEND_NUM_ARGS(), getThis(), "Os|l", &mysql_link, mysqli_link_class_entry, &query, &query_len, &resultmode) == FAILURE) {
558 if (!query_len) {
578 if (mysqli_async_query(mysql->mysql, query, query_len)) {
587 if (mysql_real_query(mysql->mysql, query, query_len)) {
1057 unsigned int query_len = spprintf(&query, 0, "START TRANSACTION%s %s", local
1065 ret = mysql_real_query(conn, query, query_len);
1119 unsigned int query_len = spprintf(&query, 0, release? "RELEASE SAVEPOINT `%s`":"SAVEPOINT `%s`", name); local
[all...]
/PHP_TRUNK/ext/mysqlnd/
H A Dmysqlnd.c1178 MYSQLND_METHOD(mysqlnd_conn_data, query)(MYSQLND_CONN_DATA * conn, const char * query, unsigned int query_len)
1186 if (PASS == conn->m->send_query(conn, query, query_len) &&
1203 MYSQLND_METHOD(mysqlnd_conn_data, send_query)(MYSQLND_CONN_DATA * conn, const char * query, unsigned int query_len)
1212 ret = conn->m->simple_command(conn, COM_QUERY, (zend_uchar *) query, query_len,
1817 size_t query_len = mnd_sprintf(&query, 0, "SET NAMES %s", csname); local
1819 if (FAIL == (ret = conn->m->query(conn, query, query_len))) {
2754 size_t query_len; local
2757 query_len = mnd_sprintf(&query, 0, (commit? "COMMIT%s %s":"ROLLBACK%s %s"),
2769 ret = conn->m->query(conn, query, query_len);
2821 unsigned int query_len local
2854 unsigned int query_len; local
2886 unsigned int query_len; local
[all...]
H A Dmysqlnd.h115 #define mysqlnd_query(conn, query_str, query_len) ((conn)->data)->m->query((conn)->data, (query_str), (query_len))
116 #define mysqlnd_async_query(conn, query_str, query_len) ((conn)->data)->m->send_query((conn)->data, (query_str), (query_len))
H A Dmysqlnd_ps.c379 MYSQLND_METHOD(mysqlnd_stmt, prepare)(MYSQLND_STMT * const s, const char * const query, unsigned int query_len)
420 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) ||
H A Dmysqlnd_structs.h419 typedef enum_func_status (*func_mysqlnd_conn_data__query)(MYSQLND_CONN_DATA * conn, const char * query, unsigned int query_len);
420 typedef enum_func_status (*func_mysqlnd_conn_data__send_query)(MYSQLND_CONN_DATA * conn, const char *query, unsigned int query_len);
748 typedef enum_func_status (*func_mysqlnd_stmt__prepare)(MYSQLND_STMT * const stmt, const char * const query, unsigned int query_len);
/PHP_TRUNK/ext/oci8/
H A Doci8_interface.c1696 size_t query_len; local
1698 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rs", &z_connection, &query, &query_len) == FAILURE) {
1704 statement = php_oci_statement_create(connection, query, query_len);
H A Doci8_statement.c46 php_oci_statement *php_oci_statement_create(php_oci_connection *connection, char *query, int query_len) argument
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);
/PHP_TRUNK/ext/odbc/
H A Dbirdstep.c350 size_t query_len, indx; local
357 if (zend_parse_parameters(ZEND_NUM_ARGS(), "ls", &ind, &query, &query_len) == FAILURE) {
H A Dphp_odbc.c1145 size_t query_len; local
1153 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rs", &pv_conn, &query, &query_len) == FAILURE) {
1573 int numArgs, query_len; local
1583 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rs|l", &pv_conn, &query, &query_len, &pv_flags) == FAILURE) {
/PHP_TRUNK/ext/pdo_pgsql/
H A Dpgsql_driver.c585 int query_len; local
593 query_len = Z_STRLEN_P(tmp);
594 if (query[query_len - 1] != '\n') {
595 query[query_len++] = '\n';
597 query[query_len] = '\0';
598 if (PQputCopyData(H->server, query, query_len) != 1) {
/PHP_TRUNK/ext/pgsql/
H A Dpgsql.c1828 size_t query_len; local
1836 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s", &query, &query_len) == FAILURE) {
1842 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rs", &pgsql_link, &query, &query_len) == FAILURE) {
1928 size_t query_len; local
1939 if (zend_parse_parameters(argc, "sa", &query, &query_len, &pv_param_arr) == FAILURE) {
1945 if (zend_parse_parameters(argc, "rsa", &pgsql_link, &query, &query_len, &pv_param_arr) == FAILURE) {
2046 size_t query_len, stmtname_len; local
2055 if (zend_parse_parameters(argc, "ss", &stmtname, &stmtname_len, &query, &query_len) == FAILURE) {
2061 if (zend_parse_parameters(argc, "rss", &pgsql_link, &stmtname, &stmtname_len, &query, &query_len) == FAILURE) {
3981 size_t query_len; local
4864 size_t query_len; local
4969 size_t stmtname_len, query_len; local
[all...]
/PHP_TRUNK/ext/simplexml/
H A Dsimplexml.c1226 size_t query_len; local
1234 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s", &query, &query_len) == FAILURE) {

Completed in 79 milliseconds