diff options
author | serg@serg.mylan <> | 2005-03-14 11:04:42 +0100 |
---|---|---|
committer | serg@serg.mylan <> | 2005-03-14 11:04:42 +0100 |
commit | ada959edf83e1560f1770bd6a831fd670050e5cf (patch) | |
tree | a33cb38030f4e9f10952cc9ce0e35488b230d788 /sql/item_cmpfunc.h | |
parent | a6b3b8fa98305862172fb1b267f11f06004a929f (diff) | |
download | mariadb-git-ada959edf83e1560f1770bd6a831fd670050e5cf.tar.gz |
anotehr fix for Item_func_isnotnull::not_null_tables()
Diffstat (limited to 'sql/item_cmpfunc.h')
-rw-r--r-- | sql/item_cmpfunc.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/item_cmpfunc.h b/sql/item_cmpfunc.h index 522f93b5e77..63e7a93d43a 100644 --- a/sql/item_cmpfunc.h +++ b/sql/item_cmpfunc.h @@ -916,7 +916,8 @@ public: } const char *func_name() const { return "isnotnull"; } optimize_type select_optimize() const { return OPTIMIZE_NULL; } - table_map not_null_tables() const { return abort_on_null ? used_tables() : 0; } + table_map not_null_tables() const + { return abort_on_null ? not_null_tables_cache : 0; } Item *neg_transformer(THD *thd); void print(String *str); CHARSET_INFO *compare_collation() { return args[0]->collation.collation; } |