/php-src/ext/mysqli/ |
H A D | mysqli_api.c | 492 size_t query_len; in PHP_FUNCTION() local 511 if (FAIL == mysql_stmt_prepare(stmt->stmt, query, query_len)) { in PHP_FUNCTION() 521 if (query_len && (MyG(report_mode) & MYSQLI_REPORT_INDEX)) { in PHP_FUNCTION() 1263 size_t query_len; in PHP_FUNCTION() local 1267 …NUM_ARGS(), getThis(), "Os",&mysql_link, mysqli_link_class_entry, &query, &query_len) == FAILURE) { in PHP_FUNCTION() 1275 if (mysql_stmt_prepare(stmt->stmt, query, query_len)) { in PHP_FUNCTION() 1292 if (stmt->stmt && query_len && (MyG(report_mode) & MYSQLI_REPORT_INDEX)) { in PHP_FUNCTION() 1325 size_t query_len; in PHP_FUNCTION() local 1334 if (mysql_real_query(mysql->mysql, query, query_len)) { in PHP_FUNCTION() 1824 size_t query_len; in PHP_FUNCTION() local [all …]
|
H A D | mysqli_nonapi.c | 535 size_t query_len; local 537 …UM_ARGS(), getThis(), "Os", &mysql_link, mysqli_link_class_entry, &query, &query_len) == FAILURE) { 543 if (mysql_real_query(mysql->mysql, query, query_len)) { 567 size_t query_len; local 570 …GS(), getThis(), "Os|l", &mysql_link, mysqli_link_class_entry, &query, &query_len, &resultmode) ==… 574 if (!query_len) { 591 if (mysqli_async_query(mysql->mysql, query, query_len)) { 599 if (mysql_real_query(mysql->mysql, query, query_len)) {
|
/php-src/ext/mysqli/tests/ |
H A D | mysqli_insert_packet_overflow.phpt | 73 $query_len = strlen($query_prefix) + strlen($query_postfix); 77 $blob = str_repeat('a', $max_len - $com_query_len - $query_len);
|
/php-src/ext/mysqlnd/ |
H A D | mysqlnd_connection.c | 785 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 1749 size_t query_len; local 1764 enum_func_status ret = conn->m->query(conn, query, query_len); 1810 enum_func_status ret = conn->m->query(conn, query, query_len); 1834 size_t query_len = mnd_sprintf(&query, 0, "SAVEPOINT `%s`", name); local 1840 enum_func_status ret = conn->m->query(conn, query, query_len); 1859 size_t query_len = mnd_sprintf(&query, 0, "RELEASE SAVEPOINT `%s`", name); local [all …]
|
H A D | mysqlnd.h | 111 #define mysqlnd_query(conn, query_str, query_len) ((conn)->data)->m->query((conn)->data, (query_st… argument 112 …mysqlnd_async_query(conn, query_str, query_len) ((conn)->data)->m->send_query((conn)->data, (query… argument
|
H A D | mysqlnd_structs.h | 433 …qlnd_conn_data__query)(MYSQLND_CONN_DATA * conn, const char * const query, const size_t query_len); 434 …query)(MYSQLND_CONN_DATA * conn, const char * const query, const size_t query_len, zval *read_cb, … 738 …ysqlnd_stmt__prepare)(MYSQLND_STMT * const stmt, const char * const query, const size_t query_len);
|
H A D | mysqlnd_ps.c | 372 …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-src/ext/pdo_pgsql/ |
H A D | pgsql_driver.c | 621 size_t query_len; in _pdo_pgsql_send_copy_data() local 628 query_len = Z_STRLEN_P(line); in _pdo_pgsql_send_copy_data() 629 query = emalloc(query_len + 2); /* room for \n\0 */ in _pdo_pgsql_send_copy_data() 630 memcpy(query, Z_STRVAL_P(line), query_len); in _pdo_pgsql_send_copy_data() 632 if (query[query_len - 1] != '\n') { in _pdo_pgsql_send_copy_data() 633 query[query_len++] = '\n'; in _pdo_pgsql_send_copy_data() 635 query[query_len] = '\0'; in _pdo_pgsql_send_copy_data() 637 if (PQputCopyData(H->server, query, query_len) != 1) { in _pdo_pgsql_send_copy_data()
|
/php-src/ext/pgsql/ |
H A D | pgsql.c | 1125 size_t query_len; in PHP_FUNCTION() local 1134 Z_PARAM_STRING(query, query_len) in PHP_FUNCTION() 1142 Z_PARAM_STRING(query, query_len) in PHP_FUNCTION() 1219 size_t query_len; in PHP_FUNCTION() local 1231 Z_PARAM_STRING(query, query_len) in PHP_FUNCTION() 1240 Z_PARAM_STRING(query, query_len) in PHP_FUNCTION() 1331 size_t query_len, stmtname_len; in PHP_FUNCTION() local 1342 Z_PARAM_STRING(query, query_len) in PHP_FUNCTION() 3229 size_t query_len; in PHP_FUNCTION() local 3970 size_t query_len; in PHP_FUNCTION() local [all …]
|
/php-src/ext/odbc/ |
H A D | php_odbc.c | 898 size_t query_len; in PHP_FUNCTION() local 906 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "Os", &pv_conn, odbc_connection_ce, &query, &query_len)… in PHP_FUNCTION() 1290 size_t query_len; in PHP_FUNCTION() local 1297 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "Os", &pv_conn, odbc_connection_ce, &query, &query_len)… in PHP_FUNCTION()
|
/php-src/ext/simplexml/ |
H A D | simplexml.c | 1237 size_t query_len; in PHP_METHOD() local 1245 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s", &query, &query_len) == FAILURE) { in PHP_METHOD()
|