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

DNET-564 fixed named parameter when query contains comments with quotes #14

Closed
wants to merge 1 commit into from

Conversation

amroel
Copy link

@amroel amroel commented Aug 16, 2014

http://tracker.firebirdsql.org/browse/DNET-564
fixed named parameter when query contains comments with quotes


return builder.ToString();
{
if (!_paramsRegex.IsMatch(sql))
Copy link
Contributor

Choose a reason for hiding this comment

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

You make two regex maches. You can call just Matches mehod and check if collection is not empty.

Copy link
Author

Choose a reason for hiding this comment

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

Absolutly. A new commit is under the way :)
Thank you

@amroel
Copy link
Author

amroel commented Aug 16, 2014

I'm closing this because it is not working as I expected!

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