summaryrefslogtreecommitdiff
path: root/sql/item_cmpfunc.h
diff options
context:
space:
mode:
authorOleksandr Byelkin <sanja@mariadb.com>2018-08-06 15:50:22 +0200
committerOleksandr Byelkin <sanja@mariadb.com>2018-08-15 14:23:07 +0200
commit1b797e9e6308913c2472f3e04ad253e95a35d59f (patch)
tree2371a7125a8b025e0f0b9dd10d9150828ec966cf /sql/item_cmpfunc.h
parent074b672b5d94d291afce5f6541f39d68c65caa62 (diff)
downloadmariadb-git-1b797e9e6308913c2472f3e04ad253e95a35d59f.tar.gz
MDEV-15475: Assertion `!table || (!table->read_set || bitmap_is_set(table->read_set, field_index))' failed on EXPLAIN EXTENDED with constant table and view
Print constant ISNULL value independent. Fix of printing of view FRM and CREATE VIEW output
Diffstat (limited to 'sql/item_cmpfunc.h')
-rw-r--r--sql/item_cmpfunc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/item_cmpfunc.h b/sql/item_cmpfunc.h
index 3c8cc71370d..c4e6a53dd6b 100644
--- a/sql/item_cmpfunc.h
+++ b/sql/item_cmpfunc.h
@@ -1389,6 +1389,7 @@ public:
const_item_cache= args[0]->const_item();
}
}
+ virtual void print(String *str, enum_query_type query_type);
table_map not_null_tables() const { return 0; }
optimize_type select_optimize() const { return OPTIMIZE_NULL; }
Item *neg_transformer(THD *thd);