Commit 731c6aa7 authored by Anuj Gupta's avatar Anuj Gupta
Browse files

Merge branch 'ibm-limit-check' into 'master'

non zero check added on limit

See merge request !121
parents 7aa1bf15 e968ae33
Pipeline #50126 failed with stages
in 47 minutes and 7 seconds
......@@ -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());
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment