Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-13501

sql_mode=ORACLE does not include STRICT_TRANS_TABLES

    Details

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

      Description

      This problem was originally reported by Jerome Brauge:

      STRICT_TRANS_TABLES is not set in sql_mode=ORACLE.
      It should be. The following script should return an error:

      set sql_mode=oracle;
      create table t1 (c1 integer not null,c2 integer not null);
      insert into t1 (c1) values(1);
      

      Query OK, 1 row affected, 1 warning
      

      Sergei also proposes to check if we should set additionally set TRADITIONAL when sql_mode=ORACLE.

        Attachments

          Activity

            People

            • Assignee:
              bar Alexander Barkov
              Reporter:
              bar Alexander Barkov
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: