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

Server Crash on Execute of SQL Statement

    XMLWordPrintable

Details

    Description

      Either of the following Windowing function constructs do not get an error but crash the server:

      – Case 1
      SUM( CASE WHEN
      SUM( CASE WHEN

      {test} THEN 1 ELSE 0 END ) OVER ( PARTITION BY {field} ) > 0
      AND
      SUM( CASE WHEN {test}

      THEN 1 ELSE 0 END ) OVER ( PARTITION BY

      {field} ) > 0
      THEN 1
      ELSE 0
      END
      )
      – Case 2
      SUM( IF( SUM( IF( {test}, 1 , 0 ) ) OVER ( PARTITION BY {field}

      ) > 0 AND SUM( IF(

      {test}

      , 1 , 0 ) ) OVER ( PARTITION BY

      {field}

      ) > 0,1, 0 ) )

      Attachments

        Issue Links

          Activity

            People

              cvicentiu Vicențiu Ciorbaru
              Emde Dave
              Votes:
              0 Vote for this issue
              Watchers:
              4 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.