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

Bugfix: UselessStatementLogger now warns when disable_ddl_transaction is called #104

Merged
merged 2 commits into from Jul 5, 2023

Conversation

ThHareau
Copy link
Contributor

@ThHareau ThHareau commented Jul 4, 2023

I only noticed the bug because I was refactoring logs (for a later PR) into a dedicated module, which is the main point of this PR

@ThHareau ThHareau added the ignore-for-release If set, won't be included in the release notes label Jul 4, 2023
@ThHareau ThHareau self-assigned this Jul 4, 2023
Comment on lines -101 to -102
UselessStatementsLogger.warn_useless '`disable_ddl_transaction`' if super
true
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Small bugfix here: this log was never sent because current_migration is not set yet

@ThHareau ThHareau changed the title Isolate logger in new module Bugfix: UselessStatementLogger now warns when disable_ddl_transaction is called Jul 4, 2023
@ThHareau ThHareau added bug Something isn't working and removed ignore-for-release If set, won't be included in the release notes labels Jul 4, 2023
@ThHareau ThHareau requested review from rchoquet and a team July 4, 2023 10:40
@ThHareau ThHareau marked this pull request as ready for review July 4, 2023 10:41
@ThHareau ThHareau merged commit d76d22e into master Jul 5, 2023
16 checks passed
@ThHareau ThHareau deleted the isolate-logger-in-module branch July 5, 2023 12:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

Successfully merging this pull request may close these issues.

None yet

2 participants