17 #ifndef OPT_EXPLAIN_INCLUDED
18 #define OPT_EXPLAIN_INCLUDED
52 class select_result_interceptor;
58 extern const char *join_type_str[];
60 bool explain_no_table(THD *thd,
JOIN *join,
const char *
message);
61 bool explain_no_table(THD *thd,
const char *
message,
62 ha_rows rows= HA_POS_ERROR);
63 bool explain_single_table_modification(THD *thd,
71 bool used_key_is_modified=
false);
72 bool explain_query_specification(THD *thd,
JOIN *join);
73 bool explain_multi_table_modification(THD *thd,
74 select_result_interceptor *result);
75 bool explain_query_expression(THD *thd, select_result *result);