Details
Description
When upgrading a MySQL 5.0 master to MariaDB 5.1, replication breaks on the
slave(s):
Last_Error: Error 'Table 'tablename' already exists' on query. Default database:
'greylist'. Query: 'RENAME TABLE `#mysql50#tablename` TO `tablename`'
The RENAME TABLE shouldn't be replicated.
To reproduce,
- start MySQL 5.0 server with binary log enabled;
- create table `t-t` (i int)
- stop server;
- start MariaDB server on the same datadir;
- run mysql_upgrade;
- grep binary log for 'rename'
Gliffy Diagrams
Attachments
Activity
- All
- Comments
- Work Log
- History
- Activity
- Transitions
Launchpad bug id: 657294