]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
ITS#9760 back-wt: SLAP_DBFLAG_CLEAN is always set.
authorHAMANO Tsukasa <hamano@osstech.co.jp>
Fri, 3 Dec 2021 06:58:45 +0000 (15:58 +0900)
committerQuanah Gibson-Mount <quanah@openldap.org>
Mon, 3 Jan 2022 18:00:00 +0000 (18:00 +0000)
servers/slapd/back-wt/init.c

index 730ccd261f5bc4924c3eb38f1f358d39ab221442..3fbeea99da7dd01bfa39551801d7074fbb685841 100644 (file)
@@ -82,6 +82,9 @@ wt_db_open( BackendDB *be, ConfigReply *cr )
                return -1;
        }
 
+       /* back-wt is always clean */
+       be->be_flags |= SLAP_DBFLAG_CLEAN;
+       
        /* Open and create database */
        rc = wiredtiger_open(wi->wi_home, NULL,
                                                 wi->wi_config, &wi->wi_conn);