[MDEV-12457] Cursors with parameters Created: 2017-04-06 Updated: 2017-04-09 Resolved: 2017-04-06 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Parser, Stored routines |
| Fix Version/s: | 10.3.0 |
| Type: | Task | Priority: | Major |
| Reporter: | Alexander Barkov | Assignee: | Alexander Barkov |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | Compatibility | ||
| Issue Links: |
|
||||||||||
| Sub-Tasks: |
|
||||||||||
| Description |
|
Under terms of this task we'll port a similar task As of version 10.2, the cursor related statements look like:
We'll extend this syntax to allow parameters.
This is a non-standard SQL extension. Cursor parameters can appear in any parts of select_statement where a stored procedure variable is allowed (select list, WHERE, HAVING, LIMIT etc) Example:
|