Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flush statement should trigger implicit commit #34180

Closed
tiancaiamao opened this issue Apr 24, 2022 · 0 comments · Fixed by #34134
Closed

flush statement should trigger implicit commit #34180

tiancaiamao opened this issue Apr 24, 2022 · 0 comments · Fixed by #34134
Labels
affects-4.0 This bug affects 4.0.x versions. affects-5.0 This bug affects 5.0.x versions. affects-5.1 This bug affects 5.1.x versions. affects-5.2 This bug affects 5.2.x versions. affects-5.3 This bug affects 5.3.x versions. affects-5.4 This bug affects 5.4.x versions. affects-6.0 fixes-6.1.0 severity/minor sig/sql-infra SIG: SQL Infra type/bug The issue is confirmed as a bug.

Comments

@tiancaiamao
Copy link
Contributor

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

For example:

begin;
insert into t values (1);
flush privileges;
rollback;

2. What did you expect to see? (Required)

select * from t should see 1 is inserted.

3. What did you see instead (Required)

1 is not inserted

4. What is your TiDB version? (Required)

master ffa4ba9

@tiancaiamao tiancaiamao added type/bug The issue is confirmed as a bug. severity/minor affects-4.0 This bug affects 4.0.x versions. affects-5.0 This bug affects 5.0.x versions. affects-5.1 This bug affects 5.1.x versions. affects-5.2 This bug affects 5.2.x versions. affects-5.3 This bug affects 5.3.x versions. affects-3.1 affects-5.4 This bug affects 5.4.x versions. affects-6.0 labels Apr 24, 2022
@tiancaiamao tiancaiamao added the sig/sql-infra SIG: SQL Infra label Apr 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-4.0 This bug affects 4.0.x versions. affects-5.0 This bug affects 5.0.x versions. affects-5.1 This bug affects 5.1.x versions. affects-5.2 This bug affects 5.2.x versions. affects-5.3 This bug affects 5.3.x versions. affects-5.4 This bug affects 5.4.x versions. affects-6.0 fixes-6.1.0 severity/minor sig/sql-infra SIG: SQL Infra type/bug The issue is confirmed as a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant