PL/SQL parser - Phase 2
(MDEV-10764)
|
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | OTHER |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Technical task | Priority: | Major |
| Reporter: | Alexander Barkov | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | Compatibility | ||
| Description |
|
When running with sql_mode=ORACLE, MariaDB should emulate Oracle-style transaction related behavior:
|
| Comments |
| Comment by Michael Widenius [ 2016-08-18 ] |
|
I assume the an easy solution is that we set autocommit=0 when changing mode to Oracle. In 10.2, we already support compound statements with BEGIN NOT ATOMIC. The MariaDB syntax, when, running in autocommit=0 mode, is: begin not atomic select 1 ; end ; commit | While Oracle syntax is: begin select 1 ; end ; commit | |