Commit e968ae33 authored by Gokul Nagare's avatar Gokul Nagare Committed by Anuj Gupta
Browse files

non zero check added on limit

parent 7aa1bf15
......@@ -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