diff options
author | unknown <mikael/pappa@dator5.(none)> | 2006-07-10 17:08:42 -0400 |
---|---|---|
committer | unknown <mikael/pappa@dator5.(none)> | 2006-07-10 17:08:42 -0400 |
commit | 907df8e3c8ae2133aa9ec4b7807f618ec571e10e (patch) | |
tree | 38367371fcfbb953af90c4fca59068a3a6c06bc9 /sql/ha_partition.h | |
parent | 60d070b2736fb3d326eacd973a5af9a2ba094c84 (diff) | |
download | mariadb-git-907df8e3c8ae2133aa9ec4b7807f618ec571e10e.tar.gz |
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
Diffstat (limited to 'sql/ha_partition.h')
-rw-r--r-- | sql/ha_partition.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 |