From 1baa982c3192605cd73997926537b4bbf84fa266 Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Mon, 31 Mar 2003 19:51:29 +0000 Subject: init_bsddb(): Added a few symbols that Greg forgot. --- Modules/_bsddb.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Modules/_bsddb.c b/Modules/_bsddb.c index c0a5f0f..9438d97 100644 --- a/Modules/_bsddb.c +++ b/Modules/_bsddb.c @@ -4518,7 +4518,10 @@ DL_EXPORT(void) init_bsddb(void) ADD_INT(d, ENOENT); ADD_INT(d, EPERM); - +#if (DBVER >= 40) + ADD_INT(d, DB_SET_LOCK_TIMEOUT); + ADD_INT(d, DB_SET_TXN_TIMEOUT); +#endif /* The base exception class is DBError */ DBError = PyErr_NewException("bsddb._db.DBError", NULL, NULL); -- cgit v0.12