summaryrefslogtreecommitdiff
path: root/sql/sql_select.h
diff options
context:
space:
mode:
authorunknown <bell@sanja.is.com.ua>2003-07-08 00:08:00 +0300
committerunknown <bell@sanja.is.com.ua>2003-07-08 00:08:00 +0300
commit210c4aba95040850e6b106d20ba889e03d08dbdc (patch)
tree15369eeb1264a3f2e01ca55f8de3f5c12459ff2d /sql/sql_select.h
parentf2ad6ba433ef131b8b3a17ebf06e6d89f506adc4 (diff)
downloadmariadb-git-210c4aba95040850e6b106d20ba889e03d08dbdc.tar.gz
new IN subquery engine added for simple IN with non-primary index but without NULL returning
(SCRUM) (part of WL#818) mysql-test/r/subselect.result: test of new engine mysql-test/t/subselect.test: test of new engine sql/item_subselect.cc: new engine added some common operation moved in separate method sql/item_subselect.h: new engine added some common operation moved in separate method sql/sql_select.cc: new engine added some common operation moved in separate method sql/sql_select.h: some common operation moved in separate method
Diffstat (limited to 'sql/sql_select.h')
-rw-r--r--sql/sql_select.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sql/sql_select.h b/sql/sql_select.h
index abfde528746..e7e22b0107d 100644
--- a/sql/sql_select.h
+++ b/sql/sql_select.h
@@ -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);
};