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 2020/09/18 07:55:19 UTC

[GitHub] [shardingsphere] zhaoyuehui opened a new issue #7508: 使用insert values时, 设置主键参数的index错误

zhaoyuehui opened a new issue #7508:
URL: https://github.com/apache/shardingsphere/issues/7508


   ## Bug Report
   笔者使用的主键生成策略是SnowFlake算法, 在执行insert ....values语句时, 由于values中包含null值,  在设置主键id的参数index时, 参数错位. 
   代码位置如下图所示
   ![image](https://user-images.githubusercontent.com/71489073/93571547-328b0080-f9c7-11ea-94f7-9cc9d6d9b268.png)
   
   当参数中包含一个null值时, 主键id的index的位置会被前移一位


----------------------------------------------------------------
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



[GitHub] [shardingsphere] menghaoranss commented on issue #7508: 使用insert values时, 设置主键参数的index错误

Posted by GitBox <gi...@apache.org>.
menghaoranss commented on issue #7508:
URL: https://github.com/apache/shardingsphere/issues/7508#issuecomment-694723466


   For english only.


----------------------------------------------------------------
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



[GitHub] [shardingsphere] menghaoranss closed issue #7508: 使用insert values时, 设置主键参数的index错误

Posted by GitBox <gi...@apache.org>.
menghaoranss closed issue #7508:
URL: https://github.com/apache/shardingsphere/issues/7508


   


----------------------------------------------------------------
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