|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-11-23 15:14 UTC] helly@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Mon Jan 12 00:00:02 2026 UTC |
ext/dba/dba_db3.c builds fine against DB 4.0.x, but requires a little patch to build against DB 4.1.X: --- php-4.2.3/ext/dba/dba_db3.c.orig Thu Apr 18 14:31:19 2002 +++ php-4.2.3/ext/dba/dba_db3.c Fri Nov 22 10:30:24 2002 @@ -74,7 +74,11 @@ } 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));