[MCOL-4202] Cross db table rename fails Created: 2020-07-21  Updated: 2023-12-19  Resolved: 2023-12-19

Status: Closed
Project: MariaDB ColumnStore
Component/s: DDLProc
Affects Version/s: 5.6.2
Fix Version/s: 23.10.1

Type: Bug Priority: Critical
Reporter: susil.behera Assignee: Leonid Fedorov
Resolution: Fixed Votes: 1
Labels: None
Environment:

Server version: 10.5.4-MariaDB MariaDB Server
Columnstore: 1.5.2-1


Sprint: 2023-11
Assigned for Review: Roman Roman
Assigned for Testing: Kirill Perov Kirill Perov

 Description   

Cross database table rename fails for columnstore tables.

CREATE TABLE db1.t1 (id INT) ENGINE=Columnstore;
RENAME TABLE db1.t1 TO db2.t1;
ERROR 1815 (HY000): Internal error: CAL0001: Alter table Failed: The new tablename is already in use.

ALTER TABLE db1.t1 RENAME TO db2.t1;
ERROR 1815 (HY000): Internal error: CAL0001: Alter table Failed: The new tablename is already in use.



 Comments   
Comment by Kirill Perov [ 2023-12-19 ]

fixed in develop

Generated at Thu Feb 08 02:48:34 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.