Commit 0bf1c0b
committed
Add test that cursors are closed when connection closes.
Test fails in this commit. Only explicitly indicate that the cursors was
closed server side if we are certain this happened. That is, this attr
must be True _before_ this method was called or as a result of its oper-
ation. Previous behaviour would set the attr=True even if the connection
was already closed, which is not correct.
Signed-off-by: Jesse Whitehouse <[email protected]>1 parent a49072e commit 0bf1c0b
2 files changed
+12
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
719 | 719 | | |
720 | 720 | | |
721 | 721 | | |
| 722 | + | |
722 | 723 | | |
723 | | - | |
724 | 724 | | |
725 | 725 | | |
726 | 726 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
544 | 544 | | |
545 | 545 | | |
546 | 546 | | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
547 | 558 | | |
548 | 559 | | |
549 | 560 | | |
| |||
0 commit comments