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)
{
}
}
-DEFUN ("map-database", Fmapdatabase, 2, 2, 0, /*
+DEFUN ("map-database", Fmap_database, 2, 2, 0, /*
Map FUNCTION over entries in DATABASE, calling it with two args,
each key and value in the database.
*/
DEFSUBR (Fopen_database);
DEFSUBR (Fdatabasep);
- DEFSUBR (Fmapdatabase);
+ DEFSUBR (Fmap_database);
DEFSUBR (Fput_database);
DEFSUBR (Fget_database);
DEFSUBR (Fremove_database);