Ignore comments when deciding when to replace question marks. #1954 #1955
No reviewers
Labels
No Label
backport/done
backport/v1
blocked
db
oracle
db
sqlserver
duplicate
feature
cache
frontport/done
frontport/main
invalid
kind
breaking
kind
bug
kind
build
kind
dependencies
kind
docs
kind
driver
kind
enhancement
kind
feature
kind
performance
kind
proposal
kind
question
kind
refactor
kind
testing
need
feedback
need
test
proposal:accepted
RaspBerry Pi
regression
skip-changelog
upstream
wip
wontfix
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: xorm/xorm#1955
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "antialiasis/xorm:issue-1954"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This should solve #1954 and adds some tests for it. I will note I'm not 100% clear on whether there are other edge cases that should be covered here. From what I understand the only standard SQL way to escape single quotes is to double them, which shouldn't cause any problems with this, but if some SQL flavors allow other kinds of escaping, for instance, that would probably need to be covered too for ideal results.
Ignore comments when deciding when to replace quetion marks. #1954to Ignore comments when deciding when to replace question marks. #1954I don't know or use MSSQL and am not sure how this update could be causing the supposed race condition that's coming up in the CI tests (at least if it didn't exist before). I can't do further tests on it either without installing and configuring it on my system from scratch for this sole purpose. If someone else knows what's going on there, a pointer or fix would be much appreciated.
It should be a bug of mssql driver and not related with this PR.