[MDEV-15123] Make multiple user variable assignment work similar in standalone query and in SP Created: 2018-01-30 Updated: 2023-04-27 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Stored routines, Variables |
| Fix Version/s: | 10.4 |
| Type: | Task | Priority: | Major |
| Reporter: | Alexander Barkov | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||||||||||
| Description |
|
I run this script:
No I wrap the same script into an anonymous SP block:
Notice:
We'll make multiple SET inside an SP work the same way with a standalone SET. Note, multiple SET for SP variables should also work the same way. |