You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2019/03/05 08:52:48 UTC

[GitHub] [incubator-shardingsphere] acseed commented on issue #206: 并发执行sql时报了IndexOutOfBoundsException

acseed commented on issue #206: 并发执行sql时报了IndexOutOfBoundsException
URL: https://github.com/apache/incubator-shardingsphere/issues/206#issuecomment-469594349
 
 
   > @ben1247 ,可以确信这是一个BUG,能否提交一个DEBUG级别的日志,我这边本地测试没出现过,生产环境有出现,但修改日志级别要等下一次更新。
   
   这个循环删除有问题, 我这边在有subQuery的时候出现, 
   remove之后下标就变了, 还拿之前的下标remove就出问题了
   
   代码位置:SelectStatement.resetLimitTokens
   for (int each : toBeRemovedIndexes) {
               sqlTokens.remove(each);
    }

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