diff options
Diffstat (limited to 'sql/tztime.cc')
-rw-r--r-- | sql/tztime.cc | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sql/tztime.cc b/sql/tztime.cc index 4b769aed40c..b2b3576e221 100644 --- a/sql/tztime.cc +++ b/sql/tztime.cc @@ -1807,8 +1807,11 @@ tz_load_from_open_tables(const String *tz_name, TABLE_LIST *tz_tables) 0, HA_READ_KEY_EXACT)) { #ifdef EXTRA_DEBUG - sql_print_error("Can't find description of time zone '%.*s'", tz_name->length(), - tz_name->ptr()); + /* + Most probably user has mistyped time zone name, so no need to bark here + unless we need it for debugging. + */ + sql_print_error("Can't find description of time zone '%s'", tz_name_buff); #endif goto end; } |