summaryrefslogtreecommitdiff
path: root/sql/table.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/table.cc')
-rw-r--r--sql/table.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/sql/table.cc b/sql/table.cc
index f2cde30c14b..20c985040fa 100644
--- a/sql/table.cc
+++ b/sql/table.cc
@@ -667,8 +667,9 @@ static int open_binary_frm(THD *thd, TABLE_SHARE *share, uchar *head,
#endif
next_chunk+= 5 + partition_info_len;
}
-#if 0
- if (share->mysql_version == 50106)
+#if 1
+ if (share->mysql_version == 50106 ||
+ share->mysql_version == 50107)
{
/*
Partition state array was here in version 5.1.6, this code makes