?revision_form?Rev ?revision_input??revision_submit??revision_endform?
Rev 123 |
Blame |
Compare with Previous |
Last modification |
View Log
| RSS feed
--- a/lib/mydb_db3.c
+++ b/lib/mydb_db3.c
@@ -190,21 +190,10 @@ static int myinit(const char *dbdir, int
static int init(const char *dbdir, int myflags)
{
- int maj, min, patch;
- char *vstr;
int r;
if (dbinit++) return 0;
- vstr = db_version(&maj, &min, &patch);
- if (maj != DB_VERSION_MAJOR || min != DB_VERSION_MINOR ||
- DB_VERSION_PATCH > patch) {
- log_fatal("incorrect version of Berkeley db: "
- "compiled against %d.%d.%d, linked against %d.%d.%d",
- DB_VERSION_MAJOR, DB_VERSION_MINOR, DB_VERSION_PATCH,
- maj, min, patch);
- }
-
if (!(r = myinit(dbdir, myflags)))
return(0);