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

Method prepare

sql/select_handler.cc:106–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

104
105
106bool select_handler::prepare()
107{
108 DBUG_ENTER("select_handler::prepare");
109 /*
110 Some engines (e.g. XPand) initialize "table" on their own.
111 So we need to create a temporary table only if "table" is NULL.
112 */
113 if (!table && !(table= create_tmp_table(thd)))
114 DBUG_RETURN(true);
115 DBUG_RETURN(table->fill_item_list(&result_columns));
116}
117
118
119bool select_handler::send_result_set_metadata()

Callers

nothing calls this directly

Calls 2

create_tmp_tableFunction · 0.85
fill_item_listMethod · 0.80

Tested by

no test coverage detected