Skip to content

Commit

Permalink
MFH
Browse files Browse the repository at this point in the history
  • Loading branch information
helly25 committed Nov 23, 2002
1 parent d4cfbfd commit 3a90b70
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion ext/dba/dba_db3.c
Expand Up @@ -74,9 +74,13 @@ DBA_OPEN_FUNC(db3)
}

if (db_create(&dbp, NULL, 0) == 0 &&
#if (DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR >= 1)
dbp->open(dbp, 0, info->path, NULL, type, gmode, filemode) == 0) {
#else
dbp->open(dbp, info->path, NULL, type, gmode, filemode) == 0) {
#endif
dba_db3_data *data;

data = emalloc(sizeof(*data));
data->dbp = dbp;
data->cursor = NULL;
Expand Down

0 comments on commit 3a90b70

Please sign in to comment.