lp:~ccx/txpostgres/notify
Created by
Jan Pobrislo
and last modified
- Get this branch:
- bzr branch lp:~ccx/txpostgres/notify
Only
Jan Pobrislo
can upload to this branch. If you are
Jan Pobrislo
please log in for upload directions.
Branch merges
Propose for merging
No branches
dependent on this one.
Ready for review
for merging
into
lp:~wulczer/txpostgres/trunk
- Jan Urbański: Pending requested
-
Diff: 166 lines (+80/-4)2 files modifiedtest/test_txpostgres.py (+15/-0)
txpostgres/txpostgres.py (+65/-4)
Branch information
Recent revisions
- 11. By Jan Urbański
-
Fix a race condition in runQuery
The connection lock needs to be held until after fetchall() has been
called on the asynchronous cursor in the Connection.runQuery
method. Original coding released the lock after running execute() and
this made it possible to start another execute() before the callback
calling fetchall() has been fired. Subsequent firing of that callback
gave errors, because you cannot use fetchall() when there is another
query underway.Give exact reason for skipping the test in case of DB connection
failure.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:~wulczer/txpostgres/trunk