From a232a259845adc620a187c54fb49ec91a3493e97 Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Mon, 21 Sep 2009 11:29:27 +0300 Subject: [PATCH] Remove useless no-op "teardown" and "usecursors" config bits --- lib/backend/dbconfig.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/lib/backend/dbconfig.c b/lib/backend/dbconfig.c index 074166d..793bd30 100644 --- a/lib/backend/dbconfig.c +++ b/lib/backend/dbconfig.c @@ -21,10 +21,6 @@ RPM_GNUC_INTERNAL struct _dbiIndex db3dbi; -static int dbi_use_cursors; - -static int dbi_tear_down; - /** \ingroup db3 */ struct poptOption rdbOptions[] = { @@ -108,10 +104,6 @@ struct poptOption rdbOptions[] = { { "verify", 0,POPT_ARG_NONE, &db3dbi.dbi_verify_on_close, 0, NULL, NULL }, - { "teardown", 0,POPT_ARG_NONE, &dbi_tear_down, 0, - NULL, NULL }, - { "usecursors",0,POPT_ARG_NONE, &dbi_use_cursors, 0, - NULL, NULL }, { "usedbenv", 0,POPT_ARG_NONE, &db3dbi.dbi_use_dbenv, 0, NULL, NULL }, { "nofsync", 0,POPT_ARG_NONE, &db3dbi.dbi_no_fsync, 0, @@ -235,7 +227,7 @@ dbiIndex db3Free(dbiIndex dbi) /** @todo Set a reasonable "last gasp" default db config. */ static const char * const db3_config_default = - "db3:hash:mpool:cdb:usecursors:verbose:mp_mmapsize=8Mb:cachesize=512Kb:pagesize=512:perms=0644"; + "db3:hash:mpool:cdb:verbose:mp_mmapsize=8Mb:cachesize=512Kb:pagesize=512:perms=0644"; dbiIndex db3New(rpmdb rpmdb, rpmTag rpmtag) { -- 2.7.4