]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/back-mdb/init.c
ITS#8578 - remove unused-variables in RE24 testing call (2.4.45)
[openldap] / servers / slapd / back-mdb / init.c
index 1b9304f368846ca88ec2c37e21e17d4dae814f7f..65f95fb8dceb947a61e812a7556fdff25783a238 100644 (file)
@@ -2,7 +2,7 @@
 /* $OpenLDAP$ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *
- * Copyright 2000-2015 The OpenLDAP Foundation.
+ * Copyright 2000-2017 The OpenLDAP Foundation.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -62,6 +62,7 @@ mdb_db_init( BackendDB *be, ConfigReply *cr )
        mdb->mi_search_stack = NULL;
 
        mdb->mi_mapsize = DEFAULT_MAPSIZE;
+       mdb->mi_rtxn_size = DEFAULT_RTXN_SIZE;
 
        be->be_private = mdb;
        be->be_cf_ocs = be->bd_info->bi_cf_ocs;
@@ -226,7 +227,6 @@ mdb_db_open( BackendDB *be, ConfigReply *cr )
                else if ( i == MDB_DN2ID ) {
                        MDB_cursor *mc;
                        MDB_val key, data;
-                       ID id;
                        mdb_set_dupsort( txn, mdb->mi_dbis[i], mdb_dup_compare );
                        /* check for old dn2id format */
                        rc = mdb_cursor_open( txn, mdb->mi_dbis[i], &mc );