summaryrefslogtreecommitdiff
path: root/sql/item_cmpfunc.h
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.org>2016-07-03 11:20:46 +0400
committerAlexander Barkov <bar@mariadb.org>2016-07-03 11:20:46 +0400
commit3ccf8218bc03a9cc598cd2da5c5a98ea2412cc05 (patch)
treee8bc6f5b4600582e87466c22bb7da52fe5cb72dc /sql/item_cmpfunc.h
parentf832b47833bd03fbb9e972508097f3f88c0ba184 (diff)
downloadmariadb-git-3ccf8218bc03a9cc598cd2da5c5a98ea2412cc05.tar.gz
Partial backporting of 7b50447aa6d051b8d14bb01ef14802cb8ffee223
(MDEV-9407, MDEV-9408) from 10.1 Needed to fix MDEV-10317 easier.
Diffstat (limited to 'sql/item_cmpfunc.h')
-rw-r--r--sql/item_cmpfunc.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sql/item_cmpfunc.h b/sql/item_cmpfunc.h
index 2f66382941d..2e066b895e9 100644
--- a/sql/item_cmpfunc.h
+++ b/sql/item_cmpfunc.h
@@ -951,7 +951,9 @@ public:
maybe_null= args[1]->maybe_null;
}
const char *func_name() const { return "ifnull"; }
- Field *tmp_table_field(TABLE *table);
+ Field *create_field_for_create_select(TABLE *table)
+ { return tmp_table_field_from_field_type(table, false, false); }
+
table_map not_null_tables() const { return 0; }
uint decimal_precision() const
{