summaryrefslogtreecommitdiff
path: root/sql/item_timefunc.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_timefunc.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_timefunc.h')
-rw-r--r--sql/item_timefunc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/item_timefunc.h b/sql/item_timefunc.h
index 9f67a1dabe6..80e7c1010d0 100644
--- a/sql/item_timefunc.h
+++ b/sql/item_timefunc.h
@@ -506,7 +506,7 @@ public:
bool get_date(MYSQL_TIME *res, ulonglong fuzzy_date) { DBUG_ASSERT(0); return 1; }
my_decimal *val_decimal(my_decimal *decimal_value)
{ return val_decimal_from_date(decimal_value); }
- 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); }
int save_in_field(Field *field, bool no_conversions)
{ return save_date_in_field(field); }