fix(encrypt): Fixed issues#5979 (#5985)
* fix(encrypt): Fixed issues#5979 Fixed data encryption can not properly processing SQL mixed with `?` and literal. And add some test cases for mixed `?` and literal. Closes #5979 * pref: Get the parameter index using an existing implementation. * pref: Optimize instert SQL rewrite logic for mixing letters and parameters: literals insert literals, parameters insert parameters. * pref: Extract duplicate code as a function. Co-authored-by: NYour Name <you@example.com> Co-authored-by: NDemon <demon@liuguopingdeiMac.local>
Showing
此差异已折叠。
想要评论请 注册 或 登录