From: Barry Warsaw Date: Mon, 31 Mar 2003 19:51:29 +0000 (+0000) Subject: init_bsddb(): Added a few symbols that Greg forgot. X-Git-Tag: v2.3c1~1302 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1baa982c3192605cd73997926537b4bbf84fa266;p=python init_bsddb(): Added a few symbols that Greg forgot. --- diff --git a/Modules/_bsddb.c b/Modules/_bsddb.c index c0a5f0fdac..9438d974ca 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);