| Bug #3052 | Rollback in stored procedure doesn't close cursor | ||
|---|---|---|---|
| Submitted: | 3 Mar 2004 3:46 | Modified: | 24 Apr 2006 9:00 |
| Reporter: | Peter Gulutzan | ||
| Status: | Verified | ||
| Category: | Server: SP | Severity: | S3 (Non-critical) |
| Version: | 5.1 | OS: | Linux (SuSE 8.2) |
| Assigned to: | Konstantin Osipov | Target Version: | |
| Tags: | rollback, cursor | ||
| Triage: | Triaged: D3 (Medium) | ||
[3 Mar 2004 3:46]
Peter Gulutzan
[15 Mar 2006 14:33]
Per-Erik Martin
This can be fixed. Since it will be a change in behaviour, it must be in 5.1 (or later). At the same time, the behaviour of COMMIT should be fixed the same way. In this case we should add the WITH[OUT] HOLD syntax for DECLARE CURSOR and close all not held cursors on COMMIT.
[22 Aug 2006 17:02]
Konstantin Osipov
This is too big to be fixed in 5.0, will be fixed in 5.1
