-
Notifications
You must be signed in to change notification settings - Fork 6.8k
EncrytPreparedStament lost paremeters when using inser on duplicate key update, "No value specified for paramer 8" #8375
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
Labels
Comments
can you try 5.0.0-alpha |
@kimmking So what bug does#1756 fix? which is the lowest version can fix this bug. |
Duplicate with #1756, it is fixed on 4.0.0-RC2, please upgrade. |
@terrymanu I use 4.0.1, isn't it higher than version 4.0.0-RC2? |
version 4.0.0-RC2 并没有修复这个问题,4.0.1和4.0.0-RC2 中都仍然有这个问题 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Bug Report
version: <apache.shardingsphere.version>4.0.1</apache.shardingsphere.version>
when we try to use insert on duplicate key update statement with sharding sphere's encrption feature, we found an sql grammar exception though we are trying to insert to a single table in a single db(we do not use sharding items).
As the debug shows, the paremeter after rewrite has been lost,

The original parementer are 14, but after rewrite, only half have been remains.
The problem code is :
Thus, an exception throws:
FYI, this is the SQL we are using:
The text was updated successfully, but these errors were encountered: