2011-05-18 17:08:31 +02:00
|
|
|
Always use DB_PRIVATE. Unfortunately no longer configurable
|
|
|
|
in the macros file.
|
2006-12-19 00:17:44 +01:00
|
|
|
|
2011-05-18 17:08:31 +02:00
|
|
|
--- lib/backend/db3.c.orig 2011-05-12 15:38:18.000000000 +0000
|
|
|
|
+++ lib/backend/db3.c 2011-05-12 15:38:41.000000000 +0000
|
|
|
|
@@ -119,7 +119,7 @@ static int db_init(rpmdb rdb, const char
|
|
|
|
int retry_open = 2;
|
|
|
|
struct _dbConfig * cfg = &rdb->cfg;
|
|
|
|
/* This is our setup, thou shall not have other setups before us */
|
|
|
|
- uint32_t eflags = (DB_CREATE|DB_INIT_MPOOL|DB_INIT_CDB);
|
|
|
|
+ uint32_t eflags = (DB_CREATE|DB_INIT_MPOOL|DB_INIT_CDB|DB_PRIVATE);
|
2006-12-19 00:17:44 +01:00
|
|
|
|
2011-05-18 17:08:31 +02:00
|
|
|
if (rdb->db_dbenv != NULL) {
|
|
|
|
rdb->db_opens++;
|