Commit 0812c5ff authored by Aleksey Midenkov's avatar Aleksey Midenkov

SQL: versioned check for inplace alter [#305]

parent 33085349
......@@ -4301,7 +4301,7 @@ bool handler::ha_commit_inplace_alter_table(TABLE *altered_table,
MDL_EXCLUSIVE) ||
!commit);
if (commit)
if (commit && native_versioned())
{
TR_table trt(ha_thd(), true);
bool updated;
......
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