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

sql_mode=ORACLE: can't create a virtual column with function MOD

    XMLWordPrintable

    Details

      Description

      This fails in 10.3:

      SET sql_mode=ORACLE;
      CREATE TABLE t1 (c1 INTEGER, c2 INTEGER AS (c1 MOD 10) VIRTUAL);
      

      ERROR 1324 (42000): Undefined CURSOR: c1
      

        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:
              Resolved: