You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This seems to be just another form of #6264 , but happens with default settings.
This occurs in current master (b9bb5d0), but has been reported against 6.0 as well.
Scenario:
Setup by using examples/local/101_initial_cluster.sh
Connect to vtgate, and run through the following testcase.
Create table with unique key and insert a value:
$ mysql -A -u root -P 15306 -h 127.0.0.1 commerce
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 5
Server version: 5.7.9-Vitess MySQL Community Server - GPL
.
.
mysql> create table t1 (c1 bigint primary key, c2 bigint, unique key (c2));
Query OK, 0 rows affected (0.12 sec)
mysql> insert into t1 (c1, c2) values (1, 1);
Query OK, 1 row affected (0.03 sec)
mysql> select * from t1;
+----+------+
| c1 | c2 |
+----+------+
| 1 | 1 |
+----+------+
1 row in set (0.01 sec)
Verify autocommit is on (by default):
mysql> show variables like 'autocommit';
+---------------+-------+
| Variable_name | Value |
+---------------+-------+
| autocommit | ON |
+---------------+-------+
1 row in set (0.01 sec)
This seems to be just another form of #6264 , but happens with default settings.
This occurs in current master (b9bb5d0), but has been reported against 6.0 as well.
Scenario:
examples/local/101_initial_cluster.sh
Table has reverted to previous state.
The text was updated successfully, but these errors were encountered: