-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
脚本中存在大量空格和换行导致脚本解析错误,是否可以在解析前去除空格和换行 #5686
Labels
Comments
是自己编写的sql吗? |
无法定位你的问题,给出详细的重现代码 |
我也遇到了,退回3.5.3.1就没有问题了, 而且3.5.3.2很多SQL查询速度都比3.5.3.1慢非常多 |
能否给个能重现问题的dome |
如果是自己业务代码里面有空格可以尝试开启. mybatis-plus:
configuration:
shrink-whitespaces-in-sql: true |
麻烦问下,下个版本会修复这个问题嘛? |
Closed
@nieqiurong 请教一下这个会不会把数据里的空行给替换了?比如: update shop_info set title=?,
content='abc
def'
where id=? |
实测会替换 |
自3.5.3.2开始,内置注入已经处理多余的换行. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
当前使用版本(必填,否则不予处理)
版本:3.5.3.2
该问题是如何引起的?(确定最新版也有问题再提!!!)
脚本中存在大量空格和换行导致脚本解析错误,是否可以在解析前去除空格和换行
重现步骤(如果有就写完整)
报错信息
The text was updated successfully, but these errors were encountered: