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: ExplainSQL using consecutive pairs of escaper in SQL string represents an escaper #6766

Merged
merged 1 commit into from
Dec 28, 2023

Conversation

iTanken
Copy link
Contributor

@iTanken iTanken commented Dec 27, 2023

  • Do only one thing
  • Non breaking API changes
  • Tested

What did this pull request do?

logger.ExplainSQL using consecutive pairs of escaper in SQL string represents an escaper, preventing it from being interpreted as the string terminator. This is a widely used escape mechanism in SQL standards and is applicable in most relational databases.

go-gorm/postgres#236

User Case Description

go-gorm/playground#677

…esents an escaper

Preventing it from being interpreted as the string terminator. This is a widely used escape mechanism in SQL standards and is applicable in most relational databases.
@iTanken iTanken marked this pull request as ready for review December 27, 2023 10:24
@iTanken
Copy link
Contributor Author

iTanken commented Dec 28, 2023

@jinzhu Please review this PR when you have time.

@jinzhu jinzhu merged commit 87decce into go-gorm:master Dec 28, 2023
40 checks passed
iTanken added a commit to godoes/gorm-oracle that referenced this pull request Jan 3, 2024
go: upgraded gorm.io/gorm v1.25.5 => v1.25.6-0.20231228115336-87decced23be

fix: github.com/go-gorm/gorm/pull/6766

Signed-off-by: liutianqi <[email protected]>
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.

2 participants