Commit 5783c382 authored by Guilhem Bichot's avatar Guilhem Bichot

a fix for Bug #46652: ndb_restore_compat gives Valgrind error in open_binary_frm(),

until it's fixed in a parent tree
parent 199dcb67
......@@ -970,8 +970,9 @@ static int open_binary_frm(THD *thd, TABLE_SHARE *share, uchar *head,
*/
next_chunk+= 4;
}
else if (share->mysql_version >= 50110)
else
#endif
if (share->mysql_version >= 50110)
{
/* New auto_partitioned indicator introduced in 5.1.11 */
#ifdef WITH_PARTITION_STORAGE_ENGINE
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment