]> 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>
Wed, 12 Jan 2022 21:52:15 +0000 (21:52 +0000)
servers/slapd/back-wt/init.c

index 235b4d491ca267c1376ab80098e7480c5fc107b3..cc0c53a5c83de8d6ce8c038c7b31290676b0b449 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);