diff options
author | Sergei Golubchik <serg@mariadb.org> | 2018-07-14 00:51:23 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2018-07-19 11:35:38 +0200 |
commit | 40f29ecbf1c8bf36be443c40382fe8cdc8a7f413 (patch) | |
tree | 495bdf7d4a2ba3787bdd0999a07f93a02126c56c /sql/tztime.cc | |
parent | 33eccb577657a127a877cea53ee4dc41cb4604c2 (diff) | |
download | mariadb-git-40f29ecbf1c8bf36be443c40382fe8cdc8a7f413.tar.gz |
MDEV-13397 MariaDB upgrade fail when using default_time_zone
don't try to set default time zone in --bootstrap,
this generally cannot be done, as timezone tables aren't loaded.
and bootstrap scripts don't need it anyway.
Diffstat (limited to 'sql/tztime.cc')
-rw-r--r-- | sql/tztime.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/tztime.cc b/sql/tztime.cc index 75b732f4436..9933c1e6364 100644 --- a/sql/tztime.cc +++ b/sql/tztime.cc @@ -1663,7 +1663,7 @@ my_tz_init(THD *org_thd, const char *default_tzname, my_bool bootstrap) { /* If we are in bootstrap mode we should not load time zone tables */ return_val= time_zone_tables_exist= 0; - goto end_with_setting_default_tz; + goto end_with_cleanup; } /* |