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

fix bug: get deleted db when autocommit=0 #14957

Merged
merged 7 commits into from Mar 14, 2024

Conversation

ouyuanning
Copy link
Contributor

What type of PR is this?

  • API-change
  • BUG
  • Improvement
  • Documentation
  • Feature
  • Test and CI
  • Code Refactoring

Which issue(s) this PR fixes:

issue #14878

What this PR does / why we need it:

fix bug: get deleted db when autocommit=0
bug repro:

create database db1;
set autocommit=0;
drop database db1;
show databases;  // return db list will contains db1

@mergify mergify bot added the kind/bug Something isn't working label Mar 14, 2024
@matrix-meow matrix-meow added the size/S Denotes a PR that changes [10,99] lines label Mar 14, 2024
@mergify mergify bot merged commit 28431f1 into matrixorigin:main Mar 14, 2024
17 of 18 checks passed
ouyuanning added a commit to ouyuanning/matrixone that referenced this pull request Mar 15, 2024
fix bug: get deleted db when autocommit=0
bug repro:
```
create database db1;
set autocommit=0;
drop database db1;
show databases;  // return db list will contains db1
```

Approved by: @heni02, @nnsgmsone
@ouyuanning ouyuanning deleted the fix-bug-get-deleted-db branch April 2, 2024 05:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working size/S Denotes a PR that changes [10,99] lines
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants