You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2019/12/13 10:45:44 UTC

[GitHub] [incubator-shardingsphere] SteNicholas commented on issue #3735: SQL value with \"xx\" parse error when use encrypt

SteNicholas commented on issue #3735: SQL value with \"xx\"  parse error when use encrypt
URL: https://github.com/apache/incubator-shardingsphere/issues/3735#issuecomment-565394287
 
 
   @xiyelife `String sql = "insert into fix_test(id,name,password) values (4,"you.wang@xxx.com",'123456')";` SQL you provided is wrong. 
   You can try to modify `INSERT_GENERATED_KEY_SQL` of `EncryptStatementTest` to `"INSERT INTO t_encrypt(pwd) VALUES ('\"you.wang@xxx.com\"')"` , and run the test method `assertInsertWithExecuteWithGeneratedKey`. This works well.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services