Message97538
Add call to pysqlite_check_connection() on the follow methods:
* create_function()
* create_aggregate()
* set_authorizer()
* set_progress_handler()
* __call__()
Eg. fix the following segfault:
c = Connection("test")
c.close()
c.set_authorizer(func)
The patch includes unit tests to test all methods on a closed connection.
sqlite3 already raises an error for some operations on a closed socket (eg. connection.commit()), but not on all operations. |
|
Date |
User |
Action |
Args |
2010-01-10 18:42:16 | vstinner | set | recipients:
+ vstinner |
2010-01-10 18:42:14 | vstinner | set | messageid: <1263148934.81.0.796800587233.issue7670@psf.upfronthosting.co.za> |
2010-01-10 18:42:12 | vstinner | link | issue7670 messages |
2010-01-10 18:42:12 | vstinner | create | |
|