Skip to content
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

查询物理分页时有BUG,查询结果不分页 #248

Closed
jianbinJava opened this issue May 3, 2017 · 3 comments
Closed

查询物理分页时有BUG,查询结果不分页 #248

jianbinJava opened this issue May 3, 2017 · 3 comments

Comments

@jianbinJava
Copy link

举例: 订单表 order_info , 订单分表 order_info_01 (有数据), order_info_02(没数据) ,
查询SQL : select * from order_info order by id desc limit 10,10 ;
sharding-jdbc 发出的 sql 为查询两张分表, 在查询结果归并的时候,被识别为单表命中. 打印的日志内容为: Sharding-JDBC: Sharding result sets type is 'SINGLE' , 在该类型下,结果返回时没有做物理分页的处理,直接把所有结果返回. 结果导致分页无效,返回全部数据.

@boothsun
Copy link

遇到同样问题,很坑呀

@terrymanu
Copy link
Member

duplicate with #239

@terrymanu
Copy link
Member

fixed at 1.5.0.M2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants