mirror of
https://github.com/MariaDB/server.git
synced 2025-09-02 09:41:40 +03:00
- Testing: add DBUG_EXECUTE_IF("show_explain_probe_2"... which fires
only for selects with given select_id. - Steps towards making SHOW EXPLAIN work for UNIONs.
This commit is contained in:
@@ -3529,7 +3529,8 @@ void st_select_lex::set_explain_type(bool on_the_fly)
|
||||
if (this == master_unit()->fake_select_lex)
|
||||
type= "UNION RESULT";
|
||||
|
||||
options|= SELECT_DESCRIBE;
|
||||
if (!on_the_fly)
|
||||
options|= SELECT_DESCRIBE;
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user