mirror of https://github.com/python/cpython
Berkeley DB: Erratic behaviour of "DBEnv->rep_elect()" because a typo
This commit is contained in:
parent
6008a8b5ba
commit
2ab4a91f43
|
@ -7257,7 +7257,7 @@ DBEnv_rep_elect(DBEnvObject* self, PyObject* args)
|
|||
}
|
||||
CHECK_ENV_NOT_CLOSED(self);
|
||||
MYDB_BEGIN_ALLOW_THREADS;
|
||||
err = self->db_env->rep_elect(self->db_env, nvotes, nvotes, 0);
|
||||
err = self->db_env->rep_elect(self->db_env, nsites, nvotes, 0);
|
||||
MYDB_END_ALLOW_THREADS;
|
||||
RETURN_IF_ERR();
|
||||
RETURN_NONE();
|
||||
|
|
|
@ -109,7 +109,7 @@
|
|||
#error "eek! DBVER can't handle minor versions > 9"
|
||||
#endif
|
||||
|
||||
#define PY_BSDDB_VERSION "4.8.4.1"
|
||||
#define PY_BSDDB_VERSION "4.8.4.2"
|
||||
|
||||
/* Python object definitions */
|
||||
|
||||
|
|
Loading…
Reference in New Issue