summaryrefslogtreecommitdiffstats
path: root/source3/lib/dbwrap
Commit message (Collapse)AuthorAgeFilesLines
* dbwrap_tdb: handle tdb2 return values properly.Rusty Russell2011-09-141-4/+4
| | | | | | | | | TDB2 versions of tdb_parse_record etc return an error code, not -1. Turn those into -1/0 in dbwrap_tdb to insulate the rest of the code from that change. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* s3:dbwrap_ctdb: improve error message in transaction destructorGregor Beck2011-09-071-1/+2
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3: Silence some warningsVolker Lendecke2011-08-301-0/+19
| | | | | | | | | | | Rusty, please suggest a proper fix for this. Thanks, Volker Lendecke Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Aug 30 19:16:14 CEST 2011 on sn-devel-104
* s3:dbwrap_tdb: correctly catch the error from the return code of tdb_parse ↵Michael Adam2011-08-251-1/+6
| | | | in db_tdb_fetch()
* s3:dbwrap_ctdb: improve transaction start/commit/cancel debuggingMichael Adam2011-08-151-2/+8
| | | | | * also log nesting transaction start/commit/cancel * unify transaction log messages slightly
* s3:dbwrap: move all .c and .h files of dbwrap to lib/dbwrap/Michael Adam2011-07-298-1/+3423
| | | | | Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Fri Jul 29 13:34:22 CEST 2011 on sn-devel-104
* s3:dbwrap: move db_is_local() from dbwrap.c to dbwrap_open.cMichael Adam2011-07-292-0/+33
|
* s3:dbwrap: move db_open() to a file dbwrap_open.c of its own.Michael Adam2011-07-293-0/+167
Also start new folder lib/dbwrap/ where dbwrap_open.c is stored and make the fallbacke implementation functoins non-static and create a dbwrap_private.h header file that contains their prototypes.