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. -- juha _______________________________________________ sr-dev mailing list [email protected] http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
