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

until it's fixed in a parent tree
This commit is contained in:
Guilhem Bichot 2009-08-11 18:47:26 +02:00
parent 648f4cdf54
commit a39de6353a

View file

@ -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