]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
ITS#10032 Use the correct ocs field
authorOndřej Kuzník <ondra@mistotebe.net>
Tue, 28 Mar 2023 13:48:41 +0000 (14:48 +0100)
committerQuanah Gibson-Mount <quanah@openldap.org>
Thu, 27 Apr 2023 15:43:55 +0000 (15:43 +0000)
servers/slapd/overlays/pcache.c
servers/slapd/overlays/translucent.c

index 726eaeb073d9d430557f5baf52288627fa0f8d0c..2b947e433cffd4291179f095ee2fc5f1d55aaaa2 100644 (file)
@@ -3841,8 +3841,8 @@ pc_cfadd( Operation *op, SlapReply *rs, Entry *p, ConfigArgs *ca )
 
        /* We can only create this entry if the database is table-driven
         */
-       if ( cm->db.bd_info->bi_cf_ocs )
-               config_build_entry( op, rs, pe, ca, &bv, cm->db.bd_info->bi_cf_ocs,
+       if ( cm->db.be_cf_ocs )
+               config_build_entry( op, rs, pe, ca, &bv, cm->db.be_cf_ocs,
                        &pcocs[1] );
 
        return 0;
index 2d31bb0fced2ea2a8e374dcf5eab80d07b6109a0..09b12dc18b1c539d5ef25a905f991fc6e8c0396b 100644 (file)
@@ -176,9 +176,9 @@ translucent_cfadd( Operation *op, SlapReply *rs, Entry *e, ConfigArgs *ca )
 
        /* We can only create this entry if the database is table-driven
         */
-       if ( ov->db.bd_info->bi_cf_ocs )
+       if ( ov->db.be_cf_ocs )
                config_build_entry( op, rs, cei, ca, &bv,
-                                   ov->db.bd_info->bi_cf_ocs,
+                                   ov->db.be_cf_ocs,
                                    &translucentocs[1] );
 
        return 0;