[MDEV-16891] EVENTs created with SQL_MODE=ORACLE fail to execute Created: 2018-08-03 Updated: 2020-08-25 Resolved: 2018-08-07 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Events, Parser |
| Affects Version/s: | 10.3.8 |
| Fix Version/s: | 10.3.9 |
| Type: | Bug | Priority: | Major |
| Reporter: | Hartmut Holzgraefe | Assignee: | Alexander Barkov |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | oracle | ||
| Description |
|
How to reproduce: Create the same event doing a simple "SELECT 1"
Creating the events succeeds just fine without problems. But when it is time to execute the events the one that was created while "ORACLE" mode was in effect fails with a syntax error:
|
| Comments |
| Comment by Elena Stepanova [ 2018-08-03 ] |
|
Same way, if you have ORACLE mode by default (that is, if event scheduler itself starts with sql_mode=ORACLE), then the "normal" ev1 will cause the syntax error. It doesn't seem particularly surprising, but I'll leave it to bar to clarify whether it's expected behavior. |