Searched defs:query_len (Results 1 - 11 of 11) sorted by relevance

/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;
/PHP_TRUNK/ext/mysqli/
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...]
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);
1843 size_t query_len; local
1847 if (zend_parse_method_parameters(ZEND_NUM_ARGS(), getThis(), "Os",&mysql_link, mysqli_link_class_entry, &query, &query_len) == FAILURE) {
1862 if (mysql_stmt_prepare(stmt->stmt, query, query_len)) {
1891 if (stmt->stmt && query_len && (MyG(report_mode) & MYSQLI_REPORT_INDEX)) {
1892 stmt->query = (char *)emalloc(query_len + 1);
1893 memcpy(stmt->query, query, query_len);
1894 stmt->query[query_len]
1931 size_t query_len; local
2467 size_t query_len; 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)) {
1737 size_t query_len, trans_res_id = 0; local
1744 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s", &query, &query_len) == FAILURE) {
1749 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rs", &link_arg, &query, &query_len) == FAILURE) {
1758 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rrs", &link_arg, &trans_arg, &query, &query_len)
[all...]
/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.c1155 size_t query_len; local
1163 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rs", &pv_conn, &query, &query_len) == FAILURE) {
1592 size_t query_len; local
1602 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rs|l", &pv_conn, &query, &query_len, &pv_flags) == FAILURE) {
/PHP_TRUNK/ext/simplexml/
H A Dsimplexml.c1227 size_t query_len; local
1235 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s", &query, &query_len) == FAILURE) {
/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, 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/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/pdo_pgsql/
H A Dpgsql_driver.c602 size_t query_len; local
610 query_len = Z_STRLEN_P(tmp);
611 if (query[query_len - 1] != '\n') {
612 query[query_len++] = '\n';
614 query[query_len] = '\0';
615 if (PQputCopyData(H->server, query, query_len) != 1) {

Completed in 41 milliseconds