Volker Lendecke
a02251333f
dbwrap: Use talloc_zero in db_open_rbt
...
Reviewed-by: Michael Adam <obnox@samba.org>
2012-11-29 18:27:37 +01:00
Rusty Russell
945473aac0
dbwrap: dbwrap_hash_size().
...
Implemented for ntdb and tdb; falls back to 0 for others.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2012-06-22 07:35:17 +02:00
Rusty Russell
e92cb556fd
dbwrap: dbwrap_name().
...
Useful for debug messages: particularly once we start switching between .tdb
and .ntdb files.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2012-06-22 07:35:17 +02:00
Volker Lendecke
442cb66c16
dbwrap: Remove an unnecessary ZERO_STRUCT
...
We assign the only struct member one line down
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-06-15 18:32:21 +02:00
Stefan Metzmacher
5e5f5692b8
lib/dbwrap: make it possible to delete/store the current record during traverse
...
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Thu May 31 02:50:09 CEST 2012 on sn-devel-104
2012-05-31 02:50:09 +02:00
Stefan Metzmacher
39ac9457a3
lib/dbwrap: don't alter the record on failure in db_rbt_store()
...
metze
2012-05-31 00:53:19 +02:00
Stefan Metzmacher
a06b9b413e
lib/dbwrap: fix db_rbt_store and update the per record node pointer
...
metze
2012-05-31 00:53:19 +02:00
Stefan Metzmacher
5b8cb6b2be
lib/dbwrap: remove unused per db_record pointer in dbwrap_rbt
...
metze
2012-05-31 00:53:19 +02:00
Volker Lendecke
2298622243
dbwrap: Fix Coverity ID 242750 Incorrect sizeof expression
...
Taking the size of "db" is correct, but a bit fishy. Silence Coverity.
2012-05-15 21:37:07 +02:00
Michael Adam
e945511aae
move the dbwrap library to the top level
...
Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Mon May 14 04:04:55 CEST 2012 on sn-devel-104
2012-05-14 04:04:55 +02:00