When input key list size is greater than 85, table.concat() returns empty because the last parameter is the end offset not the increment value.
while remaining > 0 do
local n,data = remaining, nil
if remaining > 85 then n = 85 end
while remaining > 0 do
local n,data = remaining, nil
if remaining > 85 then n = 85 end
- local data = table.concat(keys,"",start,n)
+ local data = table.concat(keys, "", start, start + n - 1)
--print("data",data)
--print("data len", #data)
print(("Testing block %d, keytype %d, with %d keys"):format(blockNo, keyType, n))
--print("data",data)
--print("data len", #data)
print(("Testing block %d, keytype %d, with %d keys"):format(blockNo, keyType, n))