]> git.ozlabs.org Git - ccan/commitdiff
tdb2: only adjust size once when growing
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 17 Nov 2010 09:52:19 +0000 (20:22 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 17 Nov 2010 09:52:19 +0000 (20:22 +1030)
We were adding 50% to datalen twice, so move it out of adjust_size and
make the callers do it.

We also add a test that the heuristic is working at all.


No differences found