[MDEV-9726] Output parameter is not assigned when rising SIGNAL (Class >= '02' (exception)) Created: 2016-03-14 Updated: 2016-03-19 |
|
| Status: | Confirmed |
| Project: | MariaDB Server |
| Component/s: | Data Definition - Procedure |
| Affects Version/s: | 10.1.12, 5.5, 10.0, 10.1 |
| Fix Version/s: | 10.1 |
| Type: | Bug | Priority: | Minor |
| Reporter: | William Chiquito | Assignee: | Sergei Golubchik |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | upstream | ||
| Environment: |
Ubuntu 15.10 (64 bits) |
||
| Description |
|
|
| Comments |
| Comment by Elena Stepanova [ 2016-03-19 ] |
|
Apparently, it's not as much "when rising a signal", as "when doing resignal". I don't know whether it's a bug, it surely looks like one, at least I cannot find anything in resignal documentation that would explain this behavior; it only says that RESIGNAL restores the last diagnostics area, but it doesn't explain what happens to the out parameter here (even if it were a part of diagnostics area, I suppose it should have been returned as 1, not as NULL). Assigning to serg for an expert opinion. wchiquito, did you also report it to MySQL (at bugs.mysql.com)? We normally do so when an upstream bug is filed, and we can file it on your behalf if you so prefer, but more often than not it's done by the original reporter – it's easier for the reporter to track further progress this way. |
| Comment by William Chiquito [ 2016-03-19 ] |
|
Elena Stepanova, I also reported it to MySQL: Bug #80732 Output parameter is not assigned when rising SIGNAL. Thanks. |