diff options
author | unknown <reggie@big_geek.> | 2006-02-16 10:38:33 -0600 |
---|---|---|
committer | unknown <reggie@big_geek.> | 2006-02-16 10:38:33 -0600 |
commit | d047fe77b74b02550d3b72fbb9415d3e8a9f507a (patch) | |
tree | f8ff3f6e12d8493541cca525570bcfc85c2b13c0 /sql/ha_partition.h | |
parent | 99526f2efb29a7573ed1b4f820c9b2f4cc32753c (diff) | |
download | mariadb-git-d047fe77b74b02550d3b72fbb9415d3e8a9f507a.tar.gz |
BUG#15408: Partitions: subpartition names are not unique
Also, moved some of the code out of handler.h and into partition specific files for better
separation.
Also, moved some of the C funcs into partition_info as formal C++ methods
mysql-test/r/partition_mgm_err.result:
result block for test of bug # 15408
mysql-test/t/partition_mgm_err.test:
test for duplicate subpartition names
sql/Makefile.am:
adding sql_partition.h, partition_info.cpp, partition_info.h, and partition_element.h to the makefile
sql/ha_partition.cc:
using the new members of partition_info
sql/ha_partition.h:
using the new members of partition_info
sql/handler.h:
moved this code into sql_partition.h
sql/mysql_priv.h:
including sql_partition.h also now
sql/opt_range.cc:
using the new members of partition_info
sql/sql_partition.cc:
moved some of the functions out and into the partition_info class
using the new members of partition_info
sql/sql_show.cc:
using the new members of partition_info
win/cmakefiles/sql:
added partition_info.cpp to the sql cmake file
sql/partition_element.h:
New BitKeeper file ``sql/partition_element.h''
sql/partition_info.h:
New BitKeeper file ``sql/partition_info.h''
sql/sql_partition.h:
New BitKeeper file ``sql/sql_partition.h''
Diffstat (limited to 'sql/ha_partition.h')
-rw-r--r-- | sql/ha_partition.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/ha_partition.h b/sql/ha_partition.h index 35435844064..40306ba7da8 100644 --- a/sql/ha_partition.h +++ b/sql/ha_partition.h @@ -135,7 +135,7 @@ public: virtual void set_part_info(partition_info *part_info) { m_part_info= part_info; - m_is_sub_partitioned= is_sub_partitioned(part_info); + m_is_sub_partitioned= part_info->is_sub_partitioned(); } /* ------------------------------------------------------------------------- |