mirror of https://github.com/python/cpython
init_bsddb(): Added a few symbols that Greg forgot.
This commit is contained in:
parent
56fbcb525b
commit
1baa982c31
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue