X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fdatabase.c;h=b35b012651b55127ba8271a810c82b76fb7aa9e9;hb=97d2e8bd7fc240780d91eb4b21bc219e7401c4de;hp=de1be0d2ca34666e5e9a53c308262353eafb3e56;hpb=c34c060023c0cec0e74be045818e6489e3c15d47;p=citadel.git diff --git a/citadel/database.c b/citadel/database.c index de1be0d2c..b35b01265 100644 --- a/citadel/database.c +++ b/citadel/database.c @@ -1,7 +1,7 @@ /* * This is a data store backend for the Citadel server which uses Berkeley DB. * - * Copyright (c) 1987-2015 by the citadel.org team + * Copyright (c) 1987-2016 by the citadel.org team * * This program is open source software; you can redistribute it and/or * modify it under the terms of the GNU General Public License version 3. @@ -281,7 +281,7 @@ void open_databases(void) dbenv->set_paniccall(dbenv, dbpanic); dbenv->set_errcall(dbenv, cdb_verbose_err); dbenv->set_errpfx(dbenv, "ctdl"); -#if (DB_VERSION_MAJOR == 4) && (DB_VERSION_MINOR >= 3) +#if (DB_VERSION_MAJOR > 4) || ( (DB_VERSION_MAJOR == 4) && (DB_VERSION_MINOR >= 3) ) dbenv->set_msgcall(dbenv, cdb_verbose_log); #endif dbenv->set_verbose(dbenv, DB_VERB_DEADLOCK, 1);