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

Method set_query_id

sql/sql_class.h:5837–5847  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5835 void set_query_and_id(char *query_arg, uint32 query_length_arg,
5836 CHARSET_INFO *cs, query_id_t new_query_id);
5837 void set_query_id(query_id_t new_query_id)
5838 {
5839 query_id= new_query_id;
5840#ifdef WITH_WSREP
5841 if (WSREP_NNULL(this))
5842 {
5843 set_wsrep_next_trx_id(query_id);
5844 WSREP_DEBUG("assigned new next trx id: %" PRIu64, wsrep_next_trx_id());
5845 }
5846#endif /* WITH_WSREP */
5847 }
5848 void set_open_tables(TABLE *open_tables_arg)
5849 {
5850 mysql_mutex_lock(&LOCK_thd_data);

Callers 8

handle_delayed_insertFunction · 0.80
execute_SQLFunction · 0.80
executeMethod · 0.80
run_sql_command_thdFunction · 0.80
sql_parse.ccFile · 0.80
do_apply_eventMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected