[MDEV-32222] different behaviour with "INTO @var1" for MySQL and MariaDB Created: 2023-09-21 Updated: 2023-10-03 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major |
| Reporter: | Richard Stracke | Assignee: | Ralf Gebhardt |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | Compatibility | ||
| Description |
|
|
| Comments |
| Comment by Sergei Golubchik [ 2023-09-21 ] | ||||
|
what kind of behavior do you expect from
? | ||||
| Comment by Sergei Golubchik [ 2023-09-22 ] | ||||
|
This is not a bug. The correct standard syntax is
and that's what MariaDB implements. Extending the syntax to support optional parentheses around the whole statement could be possible, but it'd be a feature, not a bug fix. I'll change the issue to a "task" as it's a valid feature request |