Skip to content

Commit

Permalink
SQL: versioned check for inplace alter [#305]
Browse files Browse the repository at this point in the history
  • Loading branch information
midenok committed Nov 14, 2017
1 parent 3308534 commit 0812c5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sql/handler.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 0812c5f

Please sign in to comment.