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

符号‘~’解析有误 #2055

Closed
sunsun314 opened this issue Oct 20, 2017 · 1 comment
Closed

符号‘~’解析有误 #2055

sunsun314 opened this issue Oct 20, 2017 · 1 comment
Milestone

Comments

@sunsun314
Copy link
Contributor

sunsun314 commented Oct 20, 2017

现象:
  ‘ ~ (id = 1) ’和‘ ~ id = 1”应该拥有不同的语义,但是通过druid解析的结果相同
原因:
  在解析过程中将~之后的内容当作一个表达式来解析,但实际上应该和‘!’的解析逻辑相同

wenshao added a commit that referenced this issue Oct 21, 2017
 #2055 change the function to parse the sql in the right of '~'
@wenshao wenshao added this to the 1.1.5 milestone Oct 21, 2017
@wenshao
Copy link
Member

wenshao commented Oct 27, 2017

https://github.com/alibaba/druid/releases/tag/1.1.5 问题已修复,请用新版本

@wenshao wenshao closed this as completed Oct 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants