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(recyclebin): fix failed to generate flashback sql #303

Merged
merged 2 commits into from
Sep 11, 2023

Conversation

yhilmare
Copy link
Contributor

What type of PR is this?

type-bug

What this PR does / why we need it:

this pr fix a bug that odc can not generate flashback sql on some types, just like normal index.

Which issue(s) this PR fixes:

Fixes #295
Close #295

Special notes for your reviewer:

OceanBase only supports some specific types for flashback, TABLE, VIEW, TENANT, DATABASE and SCHEMA.
ODC will give up generating sql when recycle object's type is not in available types, that is why the api returns nothing.

To fix this bug, we generate a comment to tell the user that your recycle object's type is invalid rather than ignore it

Additional documentation e.g., usage docs, etc.:


@yhilmare yhilmare added the type-bug Something isn't working label Sep 11, 2023
@yhilmare yhilmare added this to the ODC 4.2.1 milestone Sep 11, 2023
@yhilmare yhilmare self-assigned this Sep 11, 2023
@yhilmare yhilmare linked an issue Sep 11, 2023 that may be closed by this pull request
Copy link
Collaborator

@MarkPotato777 MarkPotato777 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@yhilmare yhilmare merged commit c8b9ab9 into dev/4.2.1 Sep 11, 2023
10 checks passed
@yhilmare yhilmare deleted the fix/shanlu_recyclebin branch September 11, 2023 05:40
yhilmare added a commit that referenced this pull request Jan 15, 2024
* fix(recyclebin): fix failed to generate flashback sql

* refactor(client): update submodule
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

[Bug]: failed to get flashback sql on specific db object
2 participants