]> git.sur5r.net Git - openldap/commitdiff
Don't restrict cache sizes to non-zero
authorHoward Chu <hyc@openldap.org>
Fri, 4 Mar 2005 09:45:08 +0000 (09:45 +0000)
committerHoward Chu <hyc@openldap.org>
Fri, 4 Mar 2005 09:45:08 +0000 (09:45 +0000)
servers/slapd/back-bdb/config.c

index 74a297c467367e37e12e83ba05c0b19c8829009c..03054d2a8488ba4fbc5909d5e4d4bb95c8ee521f 100644 (file)
@@ -49,7 +49,7 @@ static ConfigTable bdbcfg[] = {
                        "DESC 'Directory for database content' "
                        "EQUALITY caseIgnoreMatch "
                        "SYNTAX OMsDirectoryString )", NULL, NULL },
-       { "cachesize", "size", 2, 2, 0, ARG_INT|ARG_NONZERO|ARG_OFFSET,
+       { "cachesize", "size", 2, 2, 0, ARG_INT|ARG_OFFSET,
                (void *)offsetof(struct bdb_info, bi_cache.c_maxsize),
                "( OLcfgAt:1.2 NAME 'dbCacheSize' "
                        "DESC 'Entry cache size in entries' "
@@ -71,7 +71,7 @@ static ConfigTable bdbcfg[] = {
                "( OLcfgAt:1.5 NAME 'dbDirtyRead' "
                "DESC 'Allow reads of uncommitted data' "
                "SYNTAX OMsBoolean )", NULL, NULL },
-       { "idlcachesize", "size", 2, 2, 0, ARG_INT|ARG_NONZERO|ARG_OFFSET,
+       { "idlcachesize", "size", 2, 2, 0, ARG_INT|ARG_OFFSET,
                (void *)offsetof(struct bdb_info,bi_idl_cache_max_size),
                "( OLcfgAt:1.6 NAME 'dbIDLcacheSize' "
                "DESC 'IDL cache size in IDLs' "