summaryrefslogtreecommitdiff
path: root/sql/unireg.cc
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/unireg.cc
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/unireg.cc')
-rw-r--r--sql/unireg.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/unireg.cc b/sql/unireg.cc
index 2c5f4b34091..7cb79e866f9 100644
--- a/sql/unireg.cc
+++ b/sql/unireg.cc
@@ -86,7 +86,7 @@ bool mysql_create_frm(THD *thd, const char *file_name,
uchar *screen_buff;
char buff[32];
#ifdef WITH_PARTITION_STORAGE_ENGINE
- partition_info *part_info= thd->lex->part_info;
+ partition_info *part_info= thd->work_part_info;
#endif
DBUG_ENTER("mysql_create_frm");