From 9b0e91044e9611a25752eacc9397f8a95b154d8e Mon Sep 17 00:00:00 2001 From: Luis Soares <luis.soares@sun.com> Date: Thu, 24 Dec 2009 15:55:46 +0000 Subject: [PATCH] Valgrind warnings that have poped up ever since WL#5151 was pushed. This fixes two more warnings for tests: - rpl_row_colSize - rpl_typeconv --- sql/rpl_utility.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/rpl_utility.cc b/sql/rpl_utility.cc index 1971077ab65..3d5b3baad30 100644 --- a/sql/rpl_utility.cc +++ b/sql/rpl_utility.cc @@ -816,7 +816,7 @@ table_def::compatible_with(THD *thd, Relay_log_info *rli, rli->report(ERROR_LEVEL, ER_SLAVE_CONVERSION_FAILED, ER(ER_SLAVE_CONVERSION_FAILED), col, db_name, tbl_name, - source_type.c_ptr(), target_type.c_ptr()); + source_type.c_ptr_safe(), target_type.c_ptr_safe()); return false; } }