Bug #79583 MySQL Replication Enhancement Request (GTID)

Submitted: 10 Dec 2015 3:19 Modified: 10 Dec 2015 3:20
Reporter: Shinya Sugiyama Email Updates:
Status: Open Impact on me:
None 
Category:MySQL Server: Replication Severity:S4 (Feature request)
Version:5.7.10 OS:Any
Assigned to: CPU Architecture:Any
Tags: GTID, innodb, replication, Restriction

[10 Dec 2015 3:19] Shinya Sugiyama
Description:
Since MySQL5.7 use InnoDB for temporary tables; however, we still can't use 
"CREATE TABLE ... SELECT" command for creating a new table.

If it is possible, please remove this restriction in future.

Best Regard
Shinya

How to repeat:

root@localhost [REPLI]> select @@version;
+-------------------------------------------+
| @@version                                 |
+-------------------------------------------+
| 5.7.10-enterprise-commercial-advanced-log |
+-------------------------------------------+
1 row in set (0.00 sec)

root@localhost [REPLI]> create table T_REPLI04 select * from T_REPLI03;
ERROR 1786 (HY000): Statement violates GTID consistency: CREATE TABLE ... SELECT.

root@localhost [REPLI]> show variables like '%tmp%storage%';
+----------------------------------+--------+
| Variable_name                    | Value  |
+----------------------------------+--------+
| default_tmp_storage_engine       | InnoDB |
| internal_tmp_disk_storage_engine | InnoDB |
+----------------------------------+--------+
2 rows in set (0.00 sec)

root@localhost [REPLI]>
[10 Dec 2015 3:20] Shinya Sugiyama
Change Title

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.048 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.