get MySQL to realize that alter table change requires making a new table

git-svn-id: file:///svn/mysql/tokudb-engine/src@5735 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
Zardosht Kasheff 2008-08-18 20:44:18 +00:00 committed by Yoni Fogel
parent dca967909e
commit ced0f7606d

View file

@ -2156,7 +2156,7 @@ bool ha_tokudb::check_if_incompatible_data(HA_CREATE_INFO * info, uint table_cha
return COMPATIBLE_DATA_NO;
}
if (table_changes < IS_EQUAL_YES)
if (table_changes != IS_EQUAL_YES)
return COMPATIBLE_DATA_NO;
return COMPATIBLE_DATA_YES;
}