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 mysql-test/r/subselect.result: test of new optimisation mysql-test/t/subselect.test: test of new optimisation sql/mysql_priv.h: new function for subquery creation sql/sql_parse.cc: layout fix new function for subquery creation (convert some ALL/ANY to IN) sql/sql_yacc.yy: same code blocks replaced with function
This commit is contained in:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user