1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

new IN subquery engine added for simple IN with non-primary index but without NULL returning

(SCRUM) (part of WL#818)
This commit is contained in:
bell@sanja.is.com.ua
2003-07-08 00:08:00 +03:00
parent acece34bce
commit 8279740af4
6 changed files with 174 additions and 47 deletions

View File

@ -76,7 +76,7 @@ typedef struct st_join_cache {
enum join_type { JT_UNKNOWN,JT_SYSTEM,JT_CONST,JT_EQ_REF,JT_REF,JT_MAYBE_REF,
JT_ALL, JT_RANGE, JT_NEXT, JT_FT, JT_REF_OR_NULL,
JT_SIMPLE_IN};
JT_SIMPLE_IN, JT_INDEX_IN};
class JOIN;
@ -277,7 +277,8 @@ class JOIN :public Sql_alloc
bool rollup_init();
bool rollup_make_fields(List<Item> &all_fields, List<Item> &fields,
Item_sum ***func);
int JOIN::rollup_send_data(uint idx);
int rollup_send_data(uint idx);
bool test_in_subselect(Item **where);
};