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

Some simple optimisation

= ANY and <> ALL converted to (NOT) IN to get advantage of IN optimisation
This commit is contained in:
bell@laptop.sanja.is.com.ua
2003-10-08 17:40:54 +03:00
parent 381b680868
commit afac13d033
5 changed files with 69 additions and 18 deletions

View File

@ -1015,6 +1015,11 @@ compare_func_creator comp_le_creator(bool invert);
compare_func_creator comp_lt_creator(bool invert);
compare_func_creator comp_ne_creator(bool invert);
Item * all_any_subquery_creator(Item *left_expr,
chooser_compare_func_creator cmp,
bool all,
SELECT_LEX *select_lex);
/*
clean/setup table fields and map