Skip to content
Snippets Groups Projects

non zero check added on limit

Merged Gokul Nagare requested to merge ibm-limit-check into master
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -283,7 +283,7 @@ public class IbmSchemaInfoStore extends IbmDocumentStore implements ISchemaInfoS
}
long numRecords = LIMIT_SIZE;
if (Long.valueOf(queryParams.getLimit()) != null) {
if (Long.valueOf(queryParams.getLimit()) != null && Long.valueOf(queryParams.getLimit()) != 0) {
numRecords = Long.valueOf(queryParams.getLimit());
}
Loading