[MCOL-1325] rename table fails when database different than current database Created: 2018-04-04  Updated: 2018-04-23  Resolved: 2018-04-23

Status: Closed
Project: MariaDB ColumnStore
Component/s: DDLProc
Affects Version/s: 1.1.3
Fix Version/s: 1.1.4

Type: Bug Priority: Minor
Reporter: David Hill (Inactive) Assignee: Daniel Lee (Inactive)
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Duplicate
duplicates MCOL-876 Renaming a table in non-current datab... Closed
Sprint: 2018-07, 2018-08

 Description   

Customer reported and I was able to reproduce..

MariaDB [tpch1]> use calpontsys;
Database changed
MariaDB [calpontsys]> rename table tpch1.compare_version to tpch1.compare_version_old;
ERROR 1815 (HY000): Internal error: CAL0001: Alter table Failed: IDB-2006: 'calpontsys.compare_version' does not exist in Columnstore.
MariaDB [calpontsys]> use tpch1;
Database changed
MariaDB [tpch1]> rename table tpch1.compare_version to tpch1.compare_version_old;
Query OK, 0 rows affected (0.04 sec)



 Comments   
Comment by Daniel Lee (Inactive) [ 2018-04-23 ]

Build verified: 1.1.4-1

Verified mentioned test case

Comment by Daniel Lee (Inactive) [ 2018-04-23 ]

Also reproduced the issue in 1.1.3-1

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