Commit 91116b62 authored by Gregory P. Smith's avatar Gregory P. Smith

additional sanity check. secondaryDB cannot be closed.

parent 9e282055
......@@ -1172,6 +1172,7 @@ DB_associate(DBObject* self, PyObject* args, PyObject* kwargs)
makeTypeError("DB", (PyObject*)secondaryDB);
return NULL;
}
CHECK_DB_NOT_CLOSED(secondaryDB);
if (callback == Py_None) {
callback = NULL;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment