projects
/
chise
/
xemacs-chise.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge r21-4-14-chise-b1.
[chise/xemacs-chise.git]
/
src
/
database.c
diff --git
a/src/database.c
b/src/database.c
index
d211318
..
3e70dc3
100644
(file)
--- 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 */
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,
status = dbase->open (dbase, NULL, filename, NULL, real_subtype,
- accessmask | DB_AUTO_COMMIT, modemask);
+ accessmask, modemask);
#endif /* DB_VERSION < 4.1 */
if (status)
{
#endif /* DB_VERSION < 4.1 */
if (status)
{