[MDEV-12441] Variables declared after cursors with parameters lose value Created: 2017-04-04 Updated: 2018-08-31 Resolved: 2017-04-05 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Parser, Stored routines |
| Affects Version/s: | None |
| Fix Version/s: | 10.3.0 |
| Type: | Bug | Priority: | Major |
| Reporter: | Alexander Barkov | Assignee: | Alexander Barkov |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | Compatibility | ||
| Issue Links: |
|
||||||||||||||||||||
| Description |
|
This problem is repeatable in bb-10.2-compatibility: This script:
returns:
This is wrong. x1 should stay eqial to 101. |
| Comments |
| Comment by Alexander Barkov [ 2017-04-05 ] |
|
Pushed into bb-10.2-compatibility |