diff options
Diffstat (limited to 'sql')
-rw-r--r-- | sql/sql_lex.cc | 31 |
1 files changed, 2 insertions, 29 deletions
diff --git a/sql/sql_lex.cc b/sql/sql_lex.cc index a55b801a0fc..5fa6c088a16 100644 --- a/sql/sql_lex.cc +++ b/sql/sql_lex.cc @@ -1269,28 +1269,6 @@ bool st_select_lex::test_limit() return(0); } - - - - - - - - - - - - - - - - - - - - - - /* Interface method of table list creation for query @@ -1315,13 +1293,8 @@ bool st_select_lex_unit::create_total_list(THD *thd, st_lex *lex, bool check_derived) { *result= 0; - for (SELECT_LEX_UNIT *unit= this; unit; unit= unit->next_unit()) - { - if ((res= unit->create_total_list_n_last_return(thd, lex, &result, - check_derived))) - return res; - } - return 0; + res= create_total_list_n_last_return(thd, lex, &result, check_derived); + return res; } /* |