alibaba / druid

阿里云计算平台DataWorks(https://help.aliyun.com/document_detail/137663.html) 团队出品,为监控而生的数据库连接池
https://github.com/alibaba/druid/wiki
Apache License 2.0
27.76k stars 8.55k forks source link

fix: 修复mysql语句解析异常问题,mysql实际执行正常 #6012

Closed AdolphLv closed 2 days ago

AdolphLv commented 4 days ago

解析异常sql sql1: ((select from b where 1=1) limit 0,123) sql2: select from (((select * from tb1 a where (a.cc IN('I') ) and 1=1 and (1=2) )) limit 0,1234) as a where (((a.cc IN('I') ) AND (a.cc IN('I') ))) order by a.cc

CLAassistant commented 4 days ago

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.

:white_check_mark: AdolphLv
:x: lyang


lyang seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.