mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 20:12:31 +01:00
SQL: versioned check for inplace alter [#305]
This commit is contained in:
parent
33085349e9
commit
0812c5ffdf
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue