]> git.sur5r.net Git - openldap/commitdiff
ITS#7158 Fix a crash in back-sql
authorTimo Teräs <timo.teras@iki.fi>
Wed, 8 Feb 2012 09:28:11 +0000 (11:28 +0200)
committerQuanah Gibson-Mount <quanah@openldap.org>
Wed, 8 Feb 2012 22:13:49 +0000 (14:13 -0800)
servers/slapd/back-sql/init.c

index f6cf3465b21385c0eb84bdf36fdb9fe82be20665..055380f9cd312be80eea5bcc61fd0cba877eeb8e 100644 (file)
@@ -114,6 +114,7 @@ backsql_db_init(
        }
 
        bd->be_private = bi;
+       bd->be_cf_ocs = bd->bd_info->bi_cf_ocs;
 
        Debug( LDAP_DEBUG_TRACE, "<==backsql_db_init()\n", 0, 0, 0 );