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

Weird error message upon CREATE TABLE with DEFAULT: Function or expression 'cache' cannot be used in the ??? clause

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 10.2(EOL)
    • 10.2.6
    • OTHER
    • 10.2.6-2, 10.2.6-3

    Description

      MariaDB [test]> CREATE OR REPLACE TABLE t1 ( col INT DEFAULT ( 1 LIKE ( NOW() BETWEEN '2000-01-01' AND '2012-12-12' ) ) );
      ERROR 1901 (HY000): Function or expression 'cache' cannot be used in the ??? clause of `col`
      

      Attachments

        Issue Links

          Activity

            Transition Time In Source Status Execution Times
            Jacob Mathew (Inactive) made transition -
            Open In Progress
            213d 2h 8m 1
            Jacob Mathew (Inactive) made transition -
            In Progress In Review
            5d 18h 24m 2
            Sergei Golubchik made transition -
            In Review Stalled
            26d 14h 13m 2
            Jacob Mathew (Inactive) made transition -
            Stalled In Progress
            17d 12h 56m 2
            Jacob Mathew (Inactive) made transition -
            In Progress Closed
            19d 7h 35m 1

            People

              jacob-mathew Jacob Mathew (Inactive)
              elenst Elena Stepanova
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.