From 907df8e3c8ae2133aa9ec4b7807f618ec571e10e Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 10 Jul 2006 17:08:42 -0400 Subject: BUG#20893: Valgrind error mysql-test/r/partition_mgm.result: Added new test case mysql-test/t/partition_mgm.test: Added new test case sql/ha_partition.cc: Fixed memory overwrite, added new variable for memory check Problem was when reorganising partitions, the file handles got in the wrong place. sql/ha_partition.h: Added new variable for debugging mostly --- sql/ha_partition.h | 1 + 1 file changed, 1 insertion(+) (limited to 'sql/ha_partition.h') diff --git a/sql/ha_partition.h b/sql/ha_partition.h index 4c627cd50f8..73ec7f60df5 100644 --- a/sql/ha_partition.h +++ b/sql/ha_partition.h @@ -55,6 +55,7 @@ private: char *m_name_buffer_ptr; // Pointer to first partition name handlerton **m_engine_array; // Array of types of the handlers handler **m_file; // Array of references to handler inst. + uint m_file_tot_parts; // Debug handler **m_new_file; // Array of references to new handlers handler **m_reorged_file; // Reorganised partitions handler **m_added_file; // Added parts kept for errors -- cgit v1.2.1