X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fdatabase.c;h=3e70dc35453be1cdcb09edd00024184e386782c2;hb=d0e07e9cc4a67494b89f54a73d23443e8789676b;hp=d2113181bacfc8aee8645683b22dd517184e1cb4;hpb=c9e87d29965ebd456d729a632bf426eba85e82ef;p=chise%2Fxemacs-chise.git diff --git a/src/database.c b/src/database.c index d211318..3e70dc3 100644 --- a/src/database.c +++ b/src/database.c @@ -701,8 +701,9 @@ and defaults to 0755. status = dbase->open (dbase, filename, NULL, real_subtype, accessmask, modemask); #else /* DB_VERSION >= 4.1 */ + /* DB_AUTO_COMMIT requires transaction support, don't try it */ status = dbase->open (dbase, NULL, filename, NULL, real_subtype, - accessmask | DB_AUTO_COMMIT, modemask); + accessmask, modemask); #endif /* DB_VERSION < 4.1 */ if (status) {