summaryrefslogtreecommitdiff
path: root/sql/item_subselect.h
diff options
context:
space:
mode:
authorunknown <bell@sanja.is.com.ua>2003-01-28 14:48:12 +0200
committerunknown <bell@sanja.is.com.ua>2003-01-28 14:48:12 +0200
commitca0d06d599c7e174927a75720974dc457968be23 (patch)
tree627ebfbd22d44074e53cd22c32b38bd9aee3f9c3 /sql/item_subselect.h
parent42ba47184c0394b682d4873d5bea4d31e2438b6a (diff)
downloadmariadb-git-ca0d06d599c7e174927a75720974dc457968be23.tar.gz
fixed bugs in temporary tables in subselect implementation (SCRUM)
merging with switching on static tables optimization (SCRUM) fixed subselects with uncacheable results added test for fixed bugs from bugreports mysql-test/r/subselect.result: changes in subselect test after switching on static tables optimization fixed bug test added uncacheable subselects mysql-test/t/subselect.test: changes in subselect test after switching on static tables optimization fixed bug test added uncacheable subselects sql/item_create.cc: fixed subselects with uncacheable results sql/item_func.cc: fixed subselects with uncacheable results sql/item_subselect.cc: fixed subselects with uncacheable results clean up sql/item_subselect.h: fixed subselects with uncacheable results sql/sql_lex.cc: fixed subselects with uncacheable results sql/sql_lex.h: fixed subselects with uncacheable results sql/sql_select.cc: fixed bugs in temporary tables in subselect implementation fixed subselects with uncacheable results sql/sql_union.cc: fixed subselects with uncacheable results sql/sql_yacc.yy: fixed subselects with uncacheable results
Diffstat (limited to 'sql/item_subselect.h')
-rw-r--r--sql/item_subselect.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/sql/item_subselect.h b/sql/item_subselect.h
index cf7f612224a..3b74e7d6070 100644
--- a/sql/item_subselect.h
+++ b/sql/item_subselect.h
@@ -223,7 +223,8 @@ public:
virtual void fix_length_and_dec(Item_cache** row)= 0;
virtual int exec()= 0;
virtual uint cols()= 0; /* return number of columnss in select */
- virtual bool depended()= 0; /* depended from outer select */
+ virtual bool dependent()= 0; /* depended from outer select */
+ virtual bool uncacheable()= 0; /* query is uncacheable */
enum Item_result type() { return res_type; }
virtual bool check_loop(uint id)= 0;
virtual void exclude()= 0;
@@ -245,7 +246,8 @@ public:
void fix_length_and_dec(Item_cache** row);
int exec();
uint cols();
- bool depended();
+ bool dependent();
+ bool uncacheable();
bool check_loop(uint id);
void exclude();
};
@@ -262,7 +264,8 @@ public:
void fix_length_and_dec(Item_cache** row);
int exec();
uint cols();
- bool depended();
+ bool dependent();
+ bool uncacheable();
bool check_loop(uint id);
void exclude();
};