diff options
Diffstat (limited to 'src/context.c')
-rw-r--r-- | src/context.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/context.c b/src/context.c index 84dd4b1..c7289df 100644 --- a/src/context.c +++ b/src/context.c @@ -75,7 +75,7 @@ int db_context_free(struct syrep_db_context* c) { } -static DB* open_db(const char*path, int dup, int recno) { +static DB* open_db(const char*path, int dupsort, int recno) { int ret; DB* db; @@ -84,7 +84,7 @@ static DB* open_db(const char*path, int dup, int recno) { return NULL; } - if (dup && !recno) + if (dupsort && !recno) db->set_flags(db, DB_DUPSORT); //db->set_pagesize(db, 4096*8); |