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

/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.c1183 size_t query_len; local
1191 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rs", &pv_conn, &query, &query_len) == FAILURE) {
1620 size_t query_len; local
1630 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rs|l", &pv_conn, &query, &query_len, &pv_flags) == FAILURE) {
/PHP_TRUNK/ext/mysqlnd/
H A Dmysqlnd.h111 #define mysqlnd_query(conn, query_str, query_len) ((conn)->data)->m->query((conn)->data, (query_str), (query_len))
112 #define mysqlnd_async_query(conn, query_str, query_len) ((conn)->data)->m->send_query((conn)->data, (query_str), (query_len), MYSQLND_SEND_QUERY_EXPLICIT, NULL, NULL)
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, enum_mysqlnd_send_query_type type, zval *read_cb, zval *err_cb);
748 typedef enum_func_status (*func_mysqlnd_stmt__prepare)(MYSQLND_STMT * const stmt, const char * const query, unsigned int 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.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, MYSQLND_SEND_QUERY_IMPLICIT, NULL, NULL) &&
1203 MYSQLND_METHOD(mysqlnd_conn_data, send_query)(MYSQLND_CONN_DATA * conn, const char * query, unsigned int query_len,
1213 ret = conn->m->simple_command(conn, COM_QUERY, (zend_uchar *) query, query_len,
1818 size_t query_len = mnd_sprintf(&query, 0, "SET NAMES %s", csname); local
1820 if (FAIL == (ret = conn->m->query(conn, query, query_len))) {
2755 size_t query_len; local
2758 query_len = mnd_sprintf(&query, 0, (commit? "COMMIT%s %s":"ROLLBACK%s %s"),
2770 ret = conn->m->query(conn, query, query_len);
2822 unsigned int query_len local
2855 unsigned int query_len; local
2887 unsigned int query_len; local
[all...]
/PHP_TRUNK/ext/oci8/
H A Dphp_oci8_int.h478 php_oci_statement *php_oci_statement_create(php_oci_connection *connection, char *query, int query_len);
H A Doci8_interface.c1706 size_t query_len; local
1708 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rs", &z_connection, &query, &query_len) == FAILURE) {
1714 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;
/PHP_TRUNK/ext/pdo_pgsql/
H A Dpgsql_driver.c605 size_t query_len; local
613 query_len = Z_STRLEN_P(tmp);
614 if (query[query_len - 1] != '\n') {
615 query[query_len++] = '\n';
617 query[query_len] = '\0';
618 if (PQputCopyData(H->server, query, query_len) != 1) {
/PHP_TRUNK/ext/mysqli/
H A Dmysqli_api.c122 size_t query_len; local
124 query_len = spprintf(&query, 0,
132 ret = mysql_real_query(conn, query, query_len);
1844 size_t query_len; local
1848 if (zend_parse_method_parameters(ZEND_NUM_ARGS(), getThis(), "Os",&mysql_link, mysqli_link_class_entry, &query, &query_len) == FAILURE) {
1863 if (mysql_stmt_prepare(stmt->stmt, query, query_len)) {
1892 if (stmt->stmt && query_len && (MyG(report_mode) & MYSQLI_REPORT_INDEX)) {
1893 stmt->query = (char *)emalloc(query_len + 1);
1894 memcpy(stmt->query, query, query_len);
1895 stmt->query[query_len]
1932 size_t query_len; local
2468 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/interbase/
H A Dibase_query.c1064 int bind_i, query_len, bind_num; local
1080 &zlink, &ztrans, &query, &query_len)) {
1091 &zlink, &query, &query_len)) {
1103 "ls", &l, &query, &query_len) && l == PHP_IBASE_CREATE) {
1115 } else if (isc_dsql_execute_immediate(IB_STATUS, &db, &trans, (short)query_len,
1143 &query_len)) {
1733 size_t query_len, trans_res_id = 0; local
1740 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s", &query, &query_len) == FAILURE) {
1745 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rs", &link_arg, &query, &query_len) == FAILURE) {
1754 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rrs", &link_arg, &trans_arg, &query, &query_len)
[all...]
/PHP_TRUNK/ext/pgsql/
H A Dpgsql.c1825 size_t query_len; local
1834 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s", &query, &query_len) == FAILURE) {
1840 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rs", &pgsql_link, &query, &query_len) == FAILURE) {
1925 size_t query_len; local
1937 if (zend_parse_parameters(argc, "sa", &query, &query_len, &pv_param_arr) == FAILURE) {
1943 if (zend_parse_parameters(argc, "rsa", &pgsql_link, &query, &query_len, &pv_param_arr) == FAILURE) {
2043 size_t query_len, stmtname_len; local
2053 if (zend_parse_parameters(argc, "ss", &stmtname, &stmtname_len, &query, &query_len) == FAILURE) {
2059 if (zend_parse_parameters(argc, "rss", &pgsql_link, &stmtname, &stmtname_len, &query, &query_len) == FAILURE) {
4024 size_t query_len; local
4928 size_t query_len; local
5030 size_t stmtname_len, query_len; local
[all...]
/PHP_TRUNK/ext/simplexml/
H A Dsimplexml.c1302 size_t query_len; local
1310 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s", &query, &query_len) == FAILURE) {

Completed in 74 milliseconds