diff options
author | jbj <devnull@localhost> | 2004-10-21 00:24:38 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2004-10-21 00:24:38 +0000 |
commit | b96dba474f64505fa9e21a84984b39ba42a49ba1 (patch) | |
tree | 7053318c9f3c12ac8abb9c7d5aa4548017002d44 | |
parent | 5e872f35ed574ec549155fd8a56828aed59aedfb (diff) | |
download | rpm-b96dba474f64505fa9e21a84984b39ba42a49ba1.tar.gz rpm-b96dba474f64505fa9e21a84984b39ba42a49ba1.tar.bz2 rpm-b96dba474f64505fa9e21a84984b39ba42a49ba1.zip |
Install all Berkeley DB utilities.
Don't set DB_WRITECURSOR if using sunrpc.
CVS patchset: 7497
CVS date: 2004/10/21 00:24:38
-rw-r--r-- | rpmdb/Makefile.am | 7 | ||||
-rw-r--r-- | rpmdb/db3.c | 3 |
2 files changed, 5 insertions, 5 deletions
diff --git a/rpmdb/Makefile.am b/rpmdb/Makefile.am index c564bf1a2..9c4c785f6 100644 --- a/rpmdb/Makefile.am +++ b/rpmdb/Makefile.am @@ -27,10 +27,9 @@ noinst_HEADERS = fprint.h header_internal.h legacy.h pkgbindir = @RPMCONFIGDIR@ pkgbin_PROGRAMS = \ - rpmdb_deadlock rpmdb_dump rpmdb_load rpmdb_svc rpmdb_stat rpmdb_verify -noinst_PROGRAMS = \ - rpmdb_archive rpmdb_checkpoint rpmdb_printlog rpmdb_recover \ - rpmdb_upgrade + rpmdb_archive rpmdb_checkpoint rpmdb_deadlock rpmdb_dump rpmdb_load \ + rpmdb_printlog rpmdb_recover rpmdb_svc rpmdb_stat rpmdb_upgrade \ + rpmdb_verify mylibs = librpmdb.la diff --git a/rpmdb/db3.c b/rpmdb/db3.c index badb8d072..6c672faa4 100644 --- a/rpmdb/db3.c +++ b/rpmdb/db3.c @@ -510,7 +510,8 @@ static int db3copen(dbiIndex dbi, DB_TXN * txnid, assert(db != NULL); if ((dbiflags & DB_WRITECURSOR) && - (dbi->dbi_eflags & DB_INIT_CDB) && !(dbi->dbi_oflags & DB_RDONLY)) + (dbi->dbi_eflags & DB_INIT_CDB) && !(dbi->dbi_oflags & DB_RDONLY) + && !((dbi->dbi_ecflags & DB_CLIENT) && dbi->dbi_host)) { flags = DB_WRITECURSOR; } else |