Commit ced0f760 authored by Zardosht Kasheff's avatar Zardosht Kasheff Committed by Yoni Fogel

addresses #1016

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
parent dca96790
......@@ -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;
}
......
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