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

Escape table names in delete and update #58

Merged
merged 1 commit into from
Dec 17, 2024
Merged

Conversation

elefeint
Copy link
Contributor

Properly escapes non-qualified table name in update/delete queries.
Also adds WriteBatch logging to help diagnose the other unrelated issue.

Fixes #57

@elefeint
Copy link
Contributor Author

@guenp I try not to mix up unrelated changes in one PR, but it was a very tiny PR. I am happy to split the logging changes off into a different PR though.

@elefeint elefeint requested a review from guenp December 17, 2024 15:11
@guenp
Copy link
Member

guenp commented Dec 17, 2024

@guenp I try not to mix up unrelated changes in one PR, but it was a very tiny PR. I am happy to split the logging changes off into a different PR though.

No prob!
Drive-by fixes are totally a thing

@elefeint elefeint merged commit 541b9e9 into main Dec 17, 2024
1 check passed
@elefeint elefeint deleted the escape_table_better branch December 17, 2024 16:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update/delete issues when table name is a reserved keyword
2 participants