diff options
author | Konstantin Osipov <kostja@sun.com> | 2010-02-03 03:06:42 +0300 |
---|---|---|
committer | Konstantin Osipov <kostja@sun.com> | 2010-02-03 03:06:42 +0300 |
commit | 056ac55aa0954b3321aa5e838a5563e731c1c516 (patch) | |
tree | 8555c47c0ce18227ce535252d2c2966af26183d3 /sql/tztime.cc | |
parent | a6daa9ada052b7b7b09683ea6d565c92f5e15512 (diff) | |
parent | 3701208a2e890d42aabc678a2a5d4ea539941b36 (diff) | |
download | mariadb-git-056ac55aa0954b3321aa5e838a5563e731c1c516.tar.gz |
Merge next-mr -> next-4284.
Diffstat (limited to 'sql/tztime.cc')
-rw-r--r-- | sql/tztime.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sql/tztime.cc b/sql/tztime.cc index aa9780754d7..453df125804 100644 --- a/sql/tztime.cc +++ b/sql/tztime.cc @@ -1761,6 +1761,10 @@ end: my_pthread_setspecific_ptr(THR_THD, 0); my_pthread_setspecific_ptr(THR_MALLOC, 0); } + + default_tz= default_tz_name ? global_system_variables.time_zone + : my_tz_SYSTEM; + DBUG_RETURN(return_val); } |