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

最近一次修改SqlText.cs中的正则表达式,会导致有些情况下匹配错误 #213

Closed
xiangxiren opened this issue May 13, 2022 · 0 comments
Assignees

Comments

@xiangxiren
Copy link
Collaborator

SmartSql version

4.1.63

Database provider and version

Steps to reproduce

select from T_User where UserName in @UserNames;
select from T_User where (UserName in @UserNames)

由于@UserNames与后面的; 或者)没有空格导致匹配成了@UserNames;@UserNames),最终导致出现异常。

Expected result

Actual result

Stack trace

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

No branches or pull requests

2 participants