| 104 | |
| 105 | |
| 106 | bool 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 | |
| 119 | bool select_handler::send_result_set_metadata() |
nothing calls this directly
no test coverage detected