[sr-dev] git:master: lib/srdb1: helper function to reallocate the index for result rows