All elements are returned if pageSize = 0 [DATACMNS-377] #848
All elements are returned if pageSize = 0 in splite of new option
Consider the example below
Fist case, only 3 elements are returned with the following SQL
I think these are correct result.
However, in second case, all elements are returned with the following SQL
Note that there is no 'limit' statement.
I'm afraid tha it will cause OutOfMemoryError easily and weak for DDoS atack.
I think it's better to throw IllegalArgumentException if
Backported to: 1.6.3 (Babbage SR2)
2 votes, 4 watchers
The text was updated successfully, but these errors were encountered: