Skip to content

'select syntax' results in implicit submission with ddl on no-sharding-tables preceding #386

Open
@zhunina

Description

@zhunina
mysql> begin;
Query OK, 0 rows affected (0.00 sec)

mysql> select * from t5 limit 1 for update;
+--------------------+------+------+
| id                 | name | sex  |
+--------------------+------+------+
| 940051999573934080 | aa   | NULL |
+--------------------+------+------+
1 row in set (18.84 sec)

mysql> drop table tt;
Query OK, 0 rows affected (0.01 sec)

mysql> select * from t1;
+------+------+
| id   | name |
+------+------+
|  512 | aa   |
|  513 | aa   |
|    2 | bb   |
|  511 | bb   |
| 1024 | bb   |
+------+------+
5 rows in set (0.00 sec)

Results:the last 'select syntax' results in implicit submission

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions