On 5/26/11 6:20 AM, Juha Heinanen wrote:
Daniel-Constantin Mierla writes:
The idea is to return the db records ordered by key and when there is a change of name, if the previous was supposed to be array, then add the size. Also, the keys for arrays are added with index.
If it works as expected, feel free to backport.
daniel,
now all four example entries get loaded, but size is one too large:
lpi::20033::prefix[2]:: +3587685601 lpi::20033::prefix[3]:: +3587645294 lpi::20033::prefix[0]:: +3587413481 lpi::20033::prefix[1]:: +35876801039 lpi::20033::prefix::size:: 5
same in some other cases that i checked.
Can you try again? I just committed a patch, it was 1 too much indeed.
Cheers, Daniel