Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
23.02.19, 23.08.15, 24.02.11, 25.01.8, 25.10.4
-
None
-
MXS-SPRINT-280
-
Can result in data loss
-
The ALTER TABLE RENAME TO processing in kafkacdc now correctly uses the correct database name for the new version of the table.
Description
Renaming the table from one database into the other one used the old database's name. This resulted in queries like the following producing unexpected schema change events:
CREATE DATABASE db1; |
CREATE TABLE db1.t1(id INT); |
CREATE DATABASE db2; |
ALTER TABLE db1.t1 RENAME TO db2.t2 |