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

feat: onError callback ignore error driver.ErrSkip. #53

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

fatelei
Copy link

@fatelei fatelei commented Aug 29, 2022

No description provided.

@fatelei
Copy link
Author

fatelei commented Aug 30, 2022

image

for mysql driver,if InterpolateParams is false, it will return driver.ErrSkip. sqlhooks onError callback can ignore it. Then onError callback return this err, the golang sql package can handle it, do with remote prepare.

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.

None yet

1 participant