[MDEV-12918] Query error when column named "recursive" Created: 2017-05-25 Updated: 2017-05-25 Resolved: 2017-05-25 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Parser |
| Affects Version/s: | 10.2.6 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Jan Slusarczyk | Assignee: | Sergei Golubchik |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | None | ||
| Environment: |
ubuntu 16.04.2 |
||
| Description |
|
I have upgraded MariaDB 10.1 to 10.2 and since then ran into a problem with a specific application using a column named "recursive" in one of the tables. Queries like
cause
Is this something that may be configured? Am I missing something? |
| Comments |
| Comment by Sergei Golubchik [ 2017-05-25 ] |
|
RECURSIVE is a reserved word in 10.2 (because of recursive CTEs. You need to quote it in backticks if you want to use it as an identifier. |