From 99fbf5c4bc870119a12e9b6467beb6a8b8650cc0 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 1 May 2000 00:41:47 +0000 Subject: added TDB_INTERNAL, TDB_NOLOCK and TDB_NOMMAP flags. TDB_INTERNAL replaces the old method of passing a null filename (This used to be commit 8ec815920d46f205b9f3fff82397c731753c3a10) --- source3/tdb/tdbtest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/tdb/tdbtest.c') diff --git a/source3/tdb/tdbtest.c b/source3/tdb/tdbtest.c index 9728e59a01..67580f9067 100644 --- a/source3/tdb/tdbtest.c +++ b/source3/tdb/tdbtest.c @@ -184,7 +184,7 @@ int main(int argc, char *argv[]) unlink("test.gdbm"); - db = tdb_open("test.db", 0, TDB_CLEAR_IF_FIRST, + db = tdb_open("test.tdb", 0, TDB_CLEAR_IF_FIRST, O_RDWR | O_CREAT | O_TRUNC, 0600); gdbm = gdbm_open("test.gdbm", 512, GDBM_WRITER|GDBM_NEWDB|GDBM_FAST, 0600, NULL); -- cgit