KomachiSion commented on issue #2926: mysql page limit Long parameter type error
URL: 
https://github.com/apache/incubator-shardingsphere/issues/2926#issuecomment-527270528
 
 
   I test in mysql 5.7.21, offset and row count of limit can be over 
INTEGER.MAX.
   ```
   sql> select * from t_order limit 0, 9999999999
   [2019-09-03 09:21:48] 5 rows retrieved starting from 1 in 28ms (execution: 
17ms, fetching: 11ms)
   sql> select * from t_order limit 9999999999, 9999999999
   [2019-09-03 09:22:27] 0 rows retrieved in 37ms (execution: 21ms, fetching: 
16ms)
   ``` 
   
   So, I think `Pagination` in ShardingSphere should use type Long instead of 
Integer for offset and row count to solve this exception.

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to