Bug #97101 | Allow CREATE TABLE ... SELECT ... to work with group replication | ||
---|---|---|---|
Submitted: | 4 Oct 2019 4:53 | Modified: | 6 Oct 2020 11:05 |
Reporter: | Yoseph Phillips | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Group Replication | Severity: | S4 (Feature request) |
Version: | OS: | Any | |
Assigned to: | CPU Architecture: | Any |
[4 Oct 2019 4:53]
Yoseph Phillips
[6 Oct 2020 11:05]
MySQL Verification Team
Hi, This was not supported 'cause this creates two transactions "create" and "insert". We already fixed this in 8.0.21 mysql [localhost:8021] {msandbox} (test) > CREATE TABLE testTable (testColumn INT NOT NULL, PRIMARY KEY (testColumn)) -> SELECT 1 AS testColumn; Query OK, 1 row affected (0.03 sec) Records: 1 Duplicates: 0 Warnings: 0 mysql [localhost:8021] {msandbox} (test) > select * from testTable; +------------+ | testColumn | +------------+ | 1 | +------------+ 1 row in set (0.00 sec) mysql [localhost:8021] {msandbox} (test) >