summaryrefslogtreecommitdiff
path: root/sql/set_var.h
diff options
context:
space:
mode:
authordlenev@brandersnatch.localdomain <>2005-01-26 22:25:02 +0300
committerdlenev@brandersnatch.localdomain <>2005-01-26 22:25:02 +0300
commit80282016c230ea6e91d629b1147a40e262487cb0 (patch)
tree72a9f7c083067cfd405c029c61debdc8f66d5fe0 /sql/set_var.h
parent373dbb475045622e40a74b27292bb2cc78941a87 (diff)
downloadmariadb-git-80282016c230ea6e91d629b1147a40e262487cb0.tar.gz
Fix for bug #7899 "CREATE TABLE .. SELECT .. and CONVERT_TZ() function
does not work well together". Now using simplier and more correct implementation of st_lex::unlink_first_table()/link_first_table_back() (It also nicely handles case when global table list is created because of implictly used time zone tables). (2nd attempt) Fix for bug #7705 "CONVERT_TZ() crashes with subquery/WHERE on index column". Implemented new approach for caching objects for constant time zone arguments. Now instead of determining whenever these arguments are constants and performing time zone lookup at fix_fields() stage, we do it on first get_date() invocation. Cleanup of global @@time_zone variable handling.
Diffstat (limited to 'sql/set_var.h')
-rw-r--r--sql/set_var.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/sql/set_var.h b/sql/set_var.h
index 4a4e631d88c..df2fd41c7bd 100644
--- a/sql/set_var.h
+++ b/sql/set_var.h
@@ -736,7 +736,6 @@ public:
bool update(THD *thd, set_var *var);
byte *value_ptr(THD *thd, enum_var_type type, LEX_STRING *base);
virtual void set_default(THD *thd, enum_var_type type);
- Time_zone **get_tz_ptr(THD *thd, enum_var_type type);
};
/****************************************************************************