Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-10764 PL/SQL parser - Phase 2
  3. MDEV-10572

Automatic transaction start for sql_mode=ORACLE

    XMLWordPrintable

    Details

    • Type: Technical task
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: OTHER
    • Labels:

      Description

      When running with sql_mode=ORACLE, MariaDB should emulate Oracle-style transaction related behavior:

      • No explicit transaction start (e.g. BEGIN or START statement) is needed.
        Transactions start automatically and last until COMMIT or ROLLBACK.
        This looks to be equal to SET AUTOCOMMIT=0.
      • The BEGIN keyword should always start a code block (a compound statement), even outside of a stored procedure.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            bar Alexander Barkov
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated: