summaryrefslogtreecommitdiffstats
path: root/src/context.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2003-09-03 23:43:32 +0000
committerLennart Poettering <lennart@poettering.net>2003-09-03 23:43:32 +0000
commit84044171f5aa29fbce94b5ed85345cd50a8ddf56 (patch)
tree99f462180727d84ebaa53e269e445114eebbff9e /src/context.c
parent26973e55d522e6e35a7618646cbdc7f4bf99e152 (diff)
libz support added
git-svn-id: file:///home/lennart/svn/public/syrep/trunk@20 07ea20a6-d2c5-0310-9e02-9ef735347d72
Diffstat (limited to 'src/context.c')
-rw-r--r--src/context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/context.c b/src/context.c
index 1249669..b0cfc78 100644
--- a/src/context.c
+++ b/src/context.c
@@ -80,7 +80,7 @@ static DB* open_db(const char*path, int dup, int recno) {
return NULL;
}
- if (dup)
+ if (dup && !recno)
db->set_flags(db, DB_DUPSORT);
//db->set_pagesize(db, 4096*8);