diff options
Diffstat (limited to 'sql/item.cc')
-rw-r--r-- | sql/item.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/item.cc b/sql/item.cc index 10d26060278..a46b5f3af23 100644 --- a/sql/item.cc +++ b/sql/item.cc @@ -151,7 +151,7 @@ bool Item::get_time(TIME *ltime) CHARSET_INFO * Item::thd_charset() const { - return current_thd->thd_charset; + return current_thd->variables.thd_charset; } Item_field::Item_field(Field *f) :Item_ident(NullS,f->table_name,f->field_name) |