From c8d01f1401af42693abc9480e0a9927002cd3670 Mon Sep 17 00:00:00 2001 From: Mattias Jonsson Date: Wed, 13 Aug 2008 10:47:24 +0200 Subject: [PATCH] Bug#37402: Mysql cant read partitioned table with capital letter in the name Post push fix (compiler warning) sql/ha_partition.cc: Bug#37402: Mysql cant read partitioned table with capital letter in the name fix to prevent a compiler warning. --- sql/ha_partition.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sql/ha_partition.cc b/sql/ha_partition.cc index dfaa58c9249..af3ee000874 100644 --- a/sql/ha_partition.cc +++ b/sql/ha_partition.cc @@ -1798,7 +1798,8 @@ uint ha_partition::del_ren_cre_table(const char *from, char from_buff[FN_REFLEN], to_buff[FN_REFLEN], from_lc_buff[FN_REFLEN], to_lc_buff[FN_REFLEN]; char *name_buffer_ptr; - const char *from_path, *to_path; + const char *from_path; + const char *to_path= NULL; uint i; handler **file, **abort_file; DBUG_ENTER("del_ren_cre_table()");