summaryrefslogtreecommitdiff
path: root/sql/partition_info.h
diff options
context:
space:
mode:
authorunknown <holyfoot@vva.(none)>2006-03-18 18:48:21 +0400
committerunknown <holyfoot@vva.(none)>2006-03-18 18:48:21 +0400
commit6a421c56cc425513901d141312bed9c744673b50 (patch)
tree352cfbefcb9f3e256bd081941ca8d1b73ef7e718 /sql/partition_info.h
parent4ac5afa3b991654a38b39ad44880e74da06a02c3 (diff)
downloadmariadb-git-6a421c56cc425513901d141312bed9c744673b50.tar.gz
bug 17290 and bug 14350
added THD::work_part_info member where we now store modified partition_info structure. It allows no solve problem when different parts of the part_info get into different mem_roots sql/partition_info.cc: get_clone implementation sql/partition_info.h: get_clone() declared sql/sql_class.h: THD::work_part_info added sql/sql_partition.cc: thd->work_part_info instead of lex->part_info sql/sql_table.cc: thd->work_part_info instad of lex->part_info sql/unireg.cc: thd->work_part_info instad of lex->part_info
Diffstat (limited to 'sql/partition_info.h')
-rw-r--r--sql/partition_info.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/partition_info.h b/sql/partition_info.h
index 4a00f5c889f..69aef512a67 100644
--- a/sql/partition_info.h
+++ b/sql/partition_info.h
@@ -229,6 +229,7 @@ public:
}
~partition_info() {}
+ partition_info *get_clone();
/* Answers the question if subpartitioning is used for a certain table */
bool is_sub_partitioned()
{