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) >
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.040 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.