1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

fixing EXPLAIN select types

This commit is contained in:
bell@sanja.is.com.ua
2002-10-03 18:47:04 +03:00
parent c65515d888
commit 2883c3a8cc
25 changed files with 189 additions and 187 deletions

View File

@ -1443,7 +1443,9 @@ mysql_execute_command(void)
{
SELECT_LEX *first= sl->master_unit()->first_select();
res= mysql_explain_select(thd, sl,
((select_lex==sl)?"FIRST":
((select_lex==sl)?
((sl->next_select_in_list())?"PRIMARY":
"SIMPLE"):
((sl == first)?
((sl->depended)?"DEPENDENT SUBSELECT":
"SUBSELECT"):