SQL: versioned check for inplace alter [#305]

This commit is contained in:
Aleksey Midenkov 2017-11-10 18:15:46 +03:00
parent 33085349e9
commit 0812c5ffdf

View file

@ -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;