Menu

Commit [r8878]  Maximize  Restore  History

Fix the only instance of creating a cursor while discarding the connection object used for this.

This is not a good usage pattern, as this will usually lead to ''Cannot operate on a closed cursor'' kind of error, especially for PySqlite. It happens to work in this case because the db is kept alive higher in the call stack.

Spotted by Grzegorz Sobanski, thanks!

cboos 2009-12-04

changed /trunk/trac/ticket/roadmap.py
/trunk/trac/ticket/roadmap.py Diff Switch to side-by-side view
Loading...
MongoDB Logo MongoDB