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

sql_mode=ORACLE does not include STRICT_TRANS_TABLES

    XMLWordPrintable

    Details

      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:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:

                Git Integration