mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
#2311 - Fix BindPadding for empty list
This commit is contained in:
@@ -33,7 +33,7 @@ public final class BindPadding {
|
||||
* Extra padding on binding id's in order to get better hit ratio on DB prepared statements / query plans.
|
||||
*/
|
||||
static int padding(int size) {
|
||||
if (size == 1) {
|
||||
if (size <= 1) {
|
||||
return 0;
|
||||
}
|
||||
if (size <= 5) {
|
||||
|
||||
Reference in New Issue
Block a user