MCPcopy Create free account
hub / github.com/arkdb/inception / create_embedded_thd

Function create_embedded_thd

libmysqld/lib_sql.cc:706–749  ·  view source on GitHub ↗

@brief Initialize a new THD for a connection in the embedded server @param client_flag Client capabilities which this thread supports @return pointer to the created THD object @todo This function copies code from several places in the server, including create_new_thread(), and prepare_new_connection_state(). This should be refactored to avoid code duplication. */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

libmysqld.cFile · 0.85

Calls 8

lex_startFunction · 0.85
mysql_mutex_lockFunction · 0.85
add_global_threadFunction · 0.85
mysql_mutex_unlockFunction · 0.85
store_globalsMethod · 0.80
set_commandMethod · 0.80
init_for_queriesMethod · 0.80
set_timeMethod · 0.45

Tested by

no test coverage detected