[MDEV-19107] [bugfix] Issue: #62 alter TokuDB table comment rebuild whole engine data Created: 2019-03-31  Updated: 2021-11-02  Resolved: 2021-11-02

Status: Closed
Project: MariaDB Server
Component/s: Storage Engine - TokuDB
Fix Version/s: N/A

Type: Task Priority: Major
Reporter: Anel Husakovic Assignee: Unassigned
Resolution: Won't Fix Votes: 0
Labels: None

Epic Link: AliSQL patches

 Description   

Alter TokuDB table comment should not using copying algorithm and
rebuild whole engine data, only FRM definition should be changed.
 
Make `ha_tokudb::check_if_supported_inplace_alter()` return
`HA_ALTER_INPLACE_EXCLUSIVE_LOCK` while altering comment, and mysql
server will invoke `ha_tokudb::inplace_alter_table` which will do
nothing for altering comment.
 
Besides table comment, there are many other create options that
should be ignored by TokuDB, and they are all handled in this patch.
 
Btw, this patch has been pushed to TokuDB upstream.
 
This patch also contains a postfix for bug#88847, which handles
cases when UK or Key with auto-inc fileld is invisible.

https://github.com/alibaba/AliSQL/commit/349aa360aba29f51ed1ab030d76618cb01711648



 Comments   
Comment by Marko Mäkelä [ 2021-11-02 ]

TokuDB was removed in MDEV-19780.

Generated at Thu Feb 08 08:49:06 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.