diff options
author | Barry Warsaw <barry@python.org> | 2003-03-31 19:51:29 (GMT) |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 2003-03-31 19:51:29 (GMT) |
commit | 1baa982c3192605cd73997926537b4bbf84fa266 (patch) | |
tree | 5331e1052bc2711b9c8d940d2975f41d12504876 | |
parent | 56fbcb525bebce7eb5e710bed61589ed0879e626 (diff) | |
download | cpython-1baa982c3192605cd73997926537b4bbf84fa266.zip cpython-1baa982c3192605cd73997926537b4bbf84fa266.tar.gz cpython-1baa982c3192605cd73997926537b4bbf84fa266.tar.bz2 |
init_bsddb(): Added a few symbols that Greg forgot.
-rw-r--r-- | Modules/_bsddb.c | 5 |
1 files changed, 4 insertions, 1 deletions
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); |