1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-07 00:04:31 +03:00

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) || MDL_EXCLUSIVE) ||
!commit); !commit);
if (commit) if (commit && native_versioned())
{ {
TR_table trt(ha_thd(), true); TR_table trt(ha_thd(), true);
bool updated; bool updated;