mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
mysql-5.1 -> mysql-5.5 merge
This commit is contained in:
@@ -2300,7 +2300,7 @@ my_tz_find(THD *thd, const String *name)
|
||||
DBUG_PRINT("enter", ("time zone name='%s'",
|
||||
name ? ((String *)name)->c_ptr_safe() : "NULL"));
|
||||
|
||||
if (!name)
|
||||
if (!name || name->is_empty())
|
||||
DBUG_RETURN(0);
|
||||
|
||||
mysql_mutex_lock(&tz_LOCK);
|
||||
|
Reference in New Issue
Block a user