MCPcopy Create free account
hub / github.com/MariaDB/server / set_query

Method set_query

sql/sql_class.h:5816–5820  ·  view source on GitHub ↗

Assign a new value to thd->query and thd->query_id and mysys_var. Protected with LOCK_thd_data mutex. */

Source from the content-addressed store, hash-verified

5814 Protected with LOCK_thd_data mutex.
5815 */
5816 void set_query(char *query_arg, size_t query_length_arg,
5817 CHARSET_INFO *cs_arg)
5818 {
5819 set_query(CSET_STRING(query_arg, query_length_arg, cs_arg));
5820 }
5821 void set_query(char *query_arg, size_t query_length_arg) /*Mutex protected*/
5822 {
5823 set_query(CSET_STRING(query_arg, query_length_arg, charset()));

Callers

nothing calls this directly

Calls 2

CSET_STRINGClass · 0.85
queryClass · 0.85

Tested by

no test coverage detected