Home
last modified time | relevance | path

Searched refs:query_len (Results 1 – 14 of 14) sorted by relevance

/PHP-8.3/ext/mysqli/
H A Dmysqli_api.c505 size_t query_len; in PHP_FUNCTION() local
524 if (FAIL == mysql_stmt_prepare(stmt->stmt, query, query_len)) { in PHP_FUNCTION()
534 if (query_len && (MyG(report_mode) & MYSQLI_REPORT_INDEX)) { in PHP_FUNCTION()
1301 size_t query_len; in PHP_FUNCTION() local
1305 …NUM_ARGS(), getThis(), "Os",&mysql_link, mysqli_link_class_entry, &query, &query_len) == FAILURE) { in PHP_FUNCTION()
1313 if (mysql_stmt_prepare(stmt->stmt, query, query_len)) { in PHP_FUNCTION()
1330 if (stmt->stmt && query_len && (MyG(report_mode) & MYSQLI_REPORT_INDEX)) { in PHP_FUNCTION()
1363 size_t query_len; in PHP_FUNCTION() local
1372 if (mysql_real_query(mysql->mysql, query, query_len)) { in PHP_FUNCTION()
1874 size_t query_len; in PHP_FUNCTION() local
[all …]
H A Dmysqli_nonapi.c537 size_t query_len; local
539 …UM_ARGS(), getThis(), "Os", &mysql_link, mysqli_link_class_entry, &query, &query_len) == FAILURE) {
545 if (mysql_real_query(mysql->mysql, query, query_len)) {
569 size_t query_len; local
572 …GS(), getThis(), "Os|l", &mysql_link, mysqli_link_class_entry, &query, &query_len, &resultmode) ==…
576 if (!query_len) {
593 if (mysqli_async_query(mysql->mysql, query, query_len)) {
601 if (mysql_real_query(mysql->mysql, query, query_len)) {
/PHP-8.3/ext/mysqlnd/
H A Dmysqlnd_connection.c785 if (PASS == conn->m->send_query(conn, query, query_len, NULL, NULL) &&
801 MYSQLND_CONN_DATA * conn, const char * const query, const size_t query_len,
808 const MYSQLND_CSTRING query_string = {query, query_len};
1023 size_t query_len = mnd_sprintf(&query, 0, "SET NAMES %s", csname); local
1771 size_t query_len; local
1786 enum_func_status ret = conn->m->query(conn, query, query_len);
1832 enum_func_status ret = conn->m->query(conn, query, query_len);
1856 size_t query_len = mnd_sprintf(&query, 0, "SAVEPOINT `%s`", name); local
1862 enum_func_status ret = conn->m->query(conn, query, query_len);
1881 size_t query_len = mnd_sprintf(&query, 0, "RELEASE SAVEPOINT `%s`", name); local
[all …]
H A Dmysqlnd.h109 #define mysqlnd_query(conn, query_str, query_len) ((conn)->data)->m->query((conn)->data, (query_st… argument
110 …mysqlnd_async_query(conn, query_str, query_len) ((conn)->data)->m->send_query((conn)->data, (query… argument
H A Dmysqlnd_structs.h432 …qlnd_conn_data__query)(MYSQLND_CONN_DATA * conn, const char * const query, const size_t query_len);
433 …query)(MYSQLND_CONN_DATA * conn, const char * const query, const size_t query_len, zval *read_cb, …
737 …ysqlnd_stmt__prepare)(MYSQLND_STMT * const stmt, const char * const query, const size_t query_len);
H A Dmysqlnd_ps.c372 …OD(mysqlnd_stmt, prepare)(MYSQLND_STMT * const s, const char * const query, const size_t query_len) in MYSQLND_METHOD()
417 const MYSQLND_CSTRING query_string = {query, query_len}; in MYSQLND_METHOD()
/PHP-8.3/ext/mysqli/tests/
H A Dmysqli_insert_packet_overflow.phpt85 $query_len = strlen($query_prefix) + strlen($query_postfix);
89 $blob = str_repeat('a', $max_len - $com_query_len - $query_len);
/PHP-8.3/ext/pdo_pgsql/
H A Dpgsql_driver.c668 size_t query_len; in PHP_METHOD() local
679 query_len = Z_STRLEN_P(tmp); in PHP_METHOD()
680 if (query[query_len - 1] != '\n') { in PHP_METHOD()
681 query[query_len++] = '\n'; in PHP_METHOD()
683 query[query_len] = '\0'; in PHP_METHOD()
684 if (PQputCopyData(H->server, query, query_len) != 1) { in PHP_METHOD()
/PHP-8.3/ext/oci8/
H A Doci8_statement.c47 …oci_statement *php_oci_statement_create(php_oci_connection *connection, char *query, int query_len) in php_oci_statement_create() argument
56 if (!query_len) { in php_oci_statement_create()
63 if (query_len > 0) { in php_oci_statement_create()
70 query_len, in php_oci_statement_create()
94 if (query && query_len) { in php_oci_statement_create()
95 statement->last_query = ecalloc(1, query_len + 1); in php_oci_statement_create()
96 memcpy(statement->last_query, query, query_len); in php_oci_statement_create()
97 statement->last_query_len = query_len; in php_oci_statement_create()
H A Doci8_interface.c1592 size_t query_len; in PHP_FUNCTION() local
1596 Z_PARAM_STRING(query, query_len) in PHP_FUNCTION()
1601 statement = php_oci_statement_create(connection, query, (int) query_len); in PHP_FUNCTION()
H A Dphp_oci8_int.h492 …ci_statement *php_oci_statement_create(php_oci_connection *connection, char *query, int query_len);
/PHP-8.3/ext/pgsql/
H A Dpgsql.c974 size_t query_len; in PHP_FUNCTION() local
982 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s", &query, &query_len) == FAILURE) { in PHP_FUNCTION()
988 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "Os", &pgsql_link, pgsql_link_ce, &query, &query_len) =… in PHP_FUNCTION()
1065 size_t query_len; in PHP_FUNCTION() local
1076 if (zend_parse_parameters(ZEND_NUM_ARGS(), "sa", &query, &query_len, &pv_param_arr) == FAILURE) { in PHP_FUNCTION()
1172 size_t query_len, stmtname_len; in PHP_FUNCTION() local
1181 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "ss", &stmtname, &stmtname_len, &query, &query_len) == … in PHP_FUNCTION()
2984 size_t query_len; in PHP_FUNCTION() local
2991 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s", &query, &query_len) == FAILURE) { in PHP_FUNCTION()
3674 size_t query_len; in PHP_FUNCTION() local
[all …]
/PHP-8.3/ext/odbc/
H A Dphp_odbc.c796 size_t query_len; in PHP_FUNCTION() local
805 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rs", &pv_conn, &query, &query_len) == FAILURE) { in PHP_FUNCTION()
1200 size_t query_len; in PHP_FUNCTION() local
1208 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rs", &pv_conn, &query, &query_len) == FAILURE) { in PHP_FUNCTION()
/PHP-8.3/ext/simplexml/
H A Dsimplexml.c1260 size_t query_len; in PHP_METHOD() local
1268 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s", &query, &query_len) == FAILURE) { in PHP_METHOD()

Completed in 70 milliseconds