create table bbb select * from aaa dont replicated
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
MySQL patches by Codership |
Invalid
|
Undecided
|
Unassigned | |||
Percona XtraDB Cluster moved to https://jira.percona.com/projects/PXC | Status tracked in 5.6 | |||||
5.5 |
Invalid
|
Undecided
|
Unassigned | |||
5.6 |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
mysqld Ver 5.6.20-68.0-56 for debian-linux-gnu on x86_64 (Percona XtraDB Cluster (GPL), Release 25.7, wsrep_25.7.r4126)
on first node:
mysql> create table demo ( `login` varchar(50) DEFAULT NULL, `email` varchar(255) DEFAULT NULL) ENGINE=InnoDB DEFAULT CHARSET=utf8; Query OK, 0 rows affected (0,22 sec)
mysql> insert into demo set login='login', <email address hidden>';
Query OK, 1 row affected (0,00 sec)
mysql> create table demo1 select * from demo;
Query OK, 1 row affected (0,20 sec)
Records: 1 Duplicates: 0 Warnings: 0
mysql> show tables like 'demo%'
-> ;
+------
| Tables_in_cipt_db (demo%) |
+------
| demo |
| demo1 |
+------
2 rows in set (0,00 sec)
on second node:
mysql> show tables like 'demo%';
+------
| Tables_in_cipt_db (demo%) |
+------
| demo |
+------
1 row in set (0,00 sec)
error log is empty
Related branches
summary: |
- create table bbb select * from aaa dont replicated + create table bbb select * from aaa is not replicated with TOI |
After adding TOI around CREATE..SELECT, there is an assertion with UNIV_DEBUG + log-bin=OFF http:// paste.wnohang. net/e0dca1
With log-bin ON, there is no further assertion.