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:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user