Prevent result is too big error if viewing pages of a file with unknown record count.
Description
introduce hard limit on the result size, irrespective of amount being requested (start and count), and therefore caused "The size is bigger than" errors viewing any result that was large, even if e.g. 1 row was being requested.
fixed that by checking the size based on requested start+count.
However if a file has a row count spurious row count of 0, e.g. because the meta data from a spray is incorrect, then incorrectly assumed the whole file was being requested, and therefore threw the "The size is bigger than" if the file was larger than the configure threshold, regardless of how many rows were being requested.
Fix by ignoring the check on files that report a row count of zero, the count will still limit the amount retrieved.
introduce hard limit on the result size, irrespective of amount being requested (start and count), and therefore caused "The size is bigger than" errors viewing any result that was large, even if e.g. 1 row was being requested.
fixed that by checking the size based on requested start+count.
However if a file has a row count spurious row count of 0, e.g. because the meta data from a spray is incorrect, then incorrectly assumed the whole file was being requested, and therefore threw the "The size is bigger than" if the file was larger than the configure threshold, regardless of how many rows were being requested.
Fix by ignoring the check on files that report a row count of zero, the count will still limit the amount retrieved.