diff options
author | unknown <bell@sanja.is.com.ua> | 2003-07-17 19:39:31 +0300 |
---|---|---|
committer | unknown <bell@sanja.is.com.ua> | 2003-07-17 19:39:31 +0300 |
commit | ed8be699fea316ecd9ee49c0739c54c0e51c73da (patch) | |
tree | 583440eb06479cde144d6f89cd4375b1066656c2 /sql/item_cmpfunc.h | |
parent | 04c6e88c0e304aa3bd0f66ae006eb93c1507541b (diff) | |
download | mariadb-git-ed8be699fea316ecd9ee49c0739c54c0e51c73da.tar.gz |
new optimisation for ref_null (SCRUM) (WL#818)
mysql-test/r/subselect.result:
results of new optimisation
mysql-test/t/subselect.test:
results of new optimisation
sql/item_cmpfunc.h:
function type
sql/item_func.h:
function type
sql/item_subselect.cc:
new optimisation for ref_or_null
sql/item_subselect.h:
new optimisation for ref_or_null
sql/sql_select.cc:
new optimisation for ref_or_null
sql/sql_select.h:
item_subselect.cc need safe_index_read
Diffstat (limited to 'sql/item_cmpfunc.h')
-rw-r--r-- | sql/item_cmpfunc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/item_cmpfunc.h b/sql/item_cmpfunc.h index 03775bbf375..d0748269c77 100644 --- a/sql/item_cmpfunc.h +++ b/sql/item_cmpfunc.h @@ -669,6 +669,7 @@ public: Item_is_not_null_test(Item_in_subselect* ow, Item *a) :Item_func_isnull(a), owner(ow) {} + enum Functype functype() const { return ISNOTNULLTEST_FUNC; } longlong val_int(); const char *func_name() const { return "is_not_null_test"; } void update_used_tables(); |