diff options
author | jbj <devnull@localhost> | 2004-10-21 13:26:05 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2004-10-21 13:26:05 +0000 |
commit | a1bfe90ddc19fcce50b89471ebd77d9ea5e76270 (patch) | |
tree | d65e73c07c2e384af75ae547c0fd035961e5abd2 /rpmdb/db3.c | |
parent | b96dba474f64505fa9e21a84984b39ba42a49ba1 (diff) | |
download | rpm-a1bfe90ddc19fcce50b89471ebd77d9ea5e76270.tar.gz rpm-a1bfe90ddc19fcce50b89471ebd77d9ea5e76270.tar.bz2 rpm-a1bfe90ddc19fcce50b89471ebd77d9ea5e76270.zip |
DB_WRITECURSOR cannot be used with sunrpc dbenv.
CVS patchset: 7498
CVS date: 2004/10/21 13:26:05
Diffstat (limited to 'rpmdb/db3.c')
-rw-r--r-- | rpmdb/db3.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rpmdb/db3.c b/rpmdb/db3.c index 6c672faa4..efbfb688b 100644 --- a/rpmdb/db3.c +++ b/rpmdb/db3.c @@ -508,10 +508,10 @@ static int db3copen(dbiIndex dbi, DB_TXN * txnid, int flags; int rc; + /* XXX DB_WRITECURSOR cannot be used with sunrpc dbenv. */ assert(db != NULL); if ((dbiflags & DB_WRITECURSOR) && - (dbi->dbi_eflags & DB_INIT_CDB) && !(dbi->dbi_oflags & DB_RDONLY) - && !((dbi->dbi_ecflags & DB_CLIENT) && dbi->dbi_host)) + (dbi->dbi_eflags & DB_INIT_CDB) && !(dbi->dbi_oflags & DB_RDONLY)) { flags = DB_WRITECURSOR; } else |