summaryrefslogtreecommitdiff
path: root/sql/item_cmpfunc.h
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.org>2016-07-01 21:45:57 +0400
committerAlexander Barkov <bar@mariadb.org>2016-07-01 21:45:57 +0400
commit675d8a94f5fb3b9e33a79fcfff3dc2db02c0ca61 (patch)
tree94fd81a018d5a06c8f423d1ea219a1d33f462bde /sql/item_cmpfunc.h
parentffac85482b0de13d7780b47edd2a5d5947b528dd (diff)
downloadmariadb-git-675d8a94f5fb3b9e33a79fcfff3dc2db02c0ca61.tar.gz
Removing the "thd" argument from Item::create_field_for_create_select().
"thd" is available through the "table" argument, as table->in_use.
Diffstat (limited to 'sql/item_cmpfunc.h')
-rw-r--r--sql/item_cmpfunc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/item_cmpfunc.h b/sql/item_cmpfunc.h
index 3285b5c6d50..f899775ce88 100644
--- a/sql/item_cmpfunc.h
+++ b/sql/item_cmpfunc.h
@@ -951,7 +951,7 @@ public:
maybe_null= args[1]->maybe_null;
}
const char *func_name() const { return "ifnull"; }
- Field *create_field_for_create_select(THD *thd, 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; }