Commit fd59c1c4 authored by Rich Prohaska's avatar Rich Prohaska Committed by Yoni Fogel

refs #5297 changing column default is now hot in 5.5

git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@46153 c7de825b-a66e-492c-adef-691d508d4ae1
parent 13ad5392
......@@ -137,6 +137,10 @@ ha_tokudb::check_if_supported_inplace_alter(TABLE *altered_table, Alter_inplace_
}
}
} else
// column default
if (only_flags(handler_flags, Alter_inplace_info::ALTER_COLUMN_DEFAULT)) {
result = HA_ALTER_INPLACE_NO_LOCK;
} else
// column rename
if (only_flags(handler_flags, Alter_inplace_info::ALTER_COLUMN_NAME + Alter_inplace_info::ALTER_COLUMN_DEFAULT)) {
// we have identified a possible column rename,
......
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