Michael Schröder
476eac8c55
OBS-URL: https://build.opensuse.org/package/show/Base:System/rpm?expand=0&rev=275
15 lines
594 B
Diff
15 lines
594 B
Diff
Always use DB_PRIVATE. Unfortunately no longer configurable
|
|
in the macros file.
|
|
|
|
--- ./lib/backend/db3.c.orig 2013-07-12 12:09:45.000000000 +0000
|
|
+++ ./lib/backend/db3.c 2013-07-12 12:11:07.000000000 +0000
|
|
@@ -164,7 +164,7 @@ static int db_init(rpmdb rdb, const char
|
|
int lockfd = -1;
|
|
struct dbConfig_s * 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);
|
|
|
|
if (rdb->db_dbenv != NULL) {
|
|
rdb->db_opens++;
|