summaryrefslogtreecommitdiff
path: root/sql/tztime.cc
diff options
context:
space:
mode:
authorunknown <iggy@amd64.(none)>2008-03-30 15:46:37 -0400
committerunknown <iggy@amd64.(none)>2008-03-30 15:46:37 -0400
commit6edab4bc081b29894f3eaf70468d989ea956ff18 (patch)
treeb129814f31a4d66bf0ac9fefad60abd456648f0c /sql/tztime.cc
parent11714e6842f906901ac8e3ff9ac003ae0058fce7 (diff)
downloadmariadb-git-6edab4bc081b29894f3eaf70468d989ea956ff18.tar.gz
Bug#26243 - Cleanup Valgrind error
Diffstat (limited to 'sql/tztime.cc')
-rw-r--r--sql/tztime.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/tztime.cc b/sql/tztime.cc
index bedbf921cae..b7381e2ed95 100644
--- a/sql/tztime.cc
+++ b/sql/tztime.cc
@@ -2278,7 +2278,7 @@ my_tz_find(const String * name, TABLE_LIST *tz_tables)
DBUG_ENTER("my_tz_find");
DBUG_PRINT("enter", ("time zone name='%s'",
- name ? ((String *)name)->c_ptr() : "NULL"));
+ name ? ((String *)name)->c_ptr_safe() : "NULL"));
DBUG_ASSERT(!time_zone_tables_exist || tz_tables || current_thd->slave_thread);