diff options
author | Marcus Boerger <helly@php.net> | 2002-11-23 21:12:08 +0000 |
---|---|---|
committer | Marcus Boerger <helly@php.net> | 2002-11-23 21:12:08 +0000 |
commit | 24f66fbf0318ca60304c8180ab5f0b296e565be0 (patch) | |
tree | cc247fdb929dc9571489389de45f3517c0d3e945 | |
parent | e401c0832cd5ae2e867422e0c63e02cb4b36b03b (diff) | |
download | php-git-24f66fbf0318ca60304c8180ab5f0b296e565be0.tar.gz |
MFH
-rw-r--r-- | ext/dba/dba_db3.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/dba/dba_db3.c b/ext/dba/dba_db3.c index ebc163ae3d..102e20112f 100644 --- a/ext/dba/dba_db3.c +++ b/ext/dba/dba_db3.c @@ -74,7 +74,11 @@ 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 = malloc(sizeof(*data)); |