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

Error on execution 'select from' view with 'GROUP BY LEFT('2018-08-24', 100) '

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • 10.3, 10.4, 10.5, 10.6, 10.7, 10.8
    • 10.11
    • None

    Description

      Test:

      CREATE OR REPLACE VIEW v1 AS SELECT DISTINCT BIT_OR(100) OVER () FROM DUAL 
      GROUP BY LEFT('2018-08-24', 100)  order by 1+2;
      SELECT * FROM v1;
      DROP VIEW v1;
      

      Error:

      mysqltest: At line 3: query 'SELECT * FROM v1' failed: 1064: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'group by left('2018-08-24',100) order by 1 + 2' at line 1
      

      After fix this bug view-protocol should be enable in tests: main.win (search by issue number)

      Attachments

        Issue Links

          Activity

            People

              sanja Oleksandr Byelkin
              lstartseva Lena Startseva
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Git Integration

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