tdb2: Hand error code to logging function.
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 31 Aug 2011 04:25:15 +0000 (13:55 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 31 Aug 2011 04:25:15 +0000 (13:55 +0930)
commit6e3d9e8a66bf8b45150500f176452ee8e9ee9927
treeacdc9725a1bb9d275e338a0ccaf6d3ff349135c0
parentde432e8f857ce23bccde7c6ffa3e7e21456df18b
tdb2: Hand error code to logging function.

Since we've deprecated tdb_error() function (and it didn't work right
from inside the logging function anyway, since we didn't set
tdb->ecode yet) we need to hand it to the log function.
ccan/tdb2/private.h
ccan/tdb2/tdb.c
ccan/tdb2/tdb2.h
ccan/tdb2/test/logging.c
ccan/tdb2/test/logging.h
ccan/tdb2/test/run-seed.c
ccan/tdb2/tools/growtdb-bench.c
ccan/tdb2/tools/speed.c
ccan/tdb2/tools/tdb2tool.c
ccan/tdb2/tools/tdb2torture.c