From 9d97bf3f47a591a71e96cad8a87ef13a2b277c9c Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Fri, 22 Jun 2012 15:07:43 +0930 Subject: dbwrap: dbwrap_local_open() This simply opens a tdb: it will eventually switch depending on the extension. Signed-off-by: Rusty Russell --- source3/lib/dbwrap/dbwrap_open.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source3/lib') diff --git a/source3/lib/dbwrap/dbwrap_open.c b/source3/lib/dbwrap/dbwrap_open.c index b7e6bd586f..e5adab7eaa 100644 --- a/source3/lib/dbwrap/dbwrap_open.c +++ b/source3/lib/dbwrap/dbwrap_open.c @@ -119,9 +119,9 @@ struct db_context *db_open(TALLOC_CTX *mem_ctx, if (result == NULL) { struct loadparm_context *lp_ctx = loadparm_init_s3(mem_ctx, loadparm_s3_context()); - result = db_open_tdb(mem_ctx, lp_ctx, name, hash_size, - tdb_flags, open_flags, mode, - lock_order); + result = dbwrap_local_open(mem_ctx, lp_ctx, name, hash_size, + tdb_flags, open_flags, mode, + lock_order); talloc_unlink(mem_ctx, lp_ctx); } return result; -- cgit