1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

MDEV-31777 ER_GET_ERRNO upon online alter on CONNECT table

Forbid Online for CONNECT.
This commit is contained in:
Nikita Malyavin
2023-07-28 17:13:55 +04:00
committed by Sergei Golubchik
parent 44ca37ef17
commit 30c965f866
5 changed files with 42 additions and 17 deletions

View File

@@ -371,7 +371,10 @@ enum chf_create_flags {
/* Implements SELECT ... FOR UPDATE SKIP LOCKED */
#define HA_CAN_SKIP_LOCKED (1ULL << 61)
#define HA_LAST_TABLE_FLAG HA_CAN_SKIP_LOCKED
/* This engine is not compatible with Online ALTER TABLE */
#define HA_NO_ONLINE_ALTER (1ULL << 62)
#define HA_LAST_TABLE_FLAG HA_NO_ONLINE_ALTER
/* bits in index_flags(index_number) for what you can do with index */