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

SIGSEGV on SELECT query

    XMLWordPrintable

Details

    Description

      Running crashes the server 11.5.2-MariaDB-ubu2404 from official docker images.

      SELECT
        *
      FROM
      (
        SELECT
      	'a' AS status
        FROM
          information_schema.tables
       
        UNION
       
        SELECT
      	CASE
      	  'a' WHEN 'b' THEN 'c'
      	END
        FROM
      	information_schema.tables
      ) AS t
      WHERE
        status = '10'
      

      The result:

      SQL Error [08000]: Could not connect to localhost:3311 : unexpected end of stream, read 0 bytes from 4 (socket was closed by server)
        Could not connect to localhost:3311 : unexpected end of stream, read 0 bytes from 4 (socket was closed by server)
        Could not connect to localhost:3311 : unexpected end of stream, read 0 bytes from 4 (socket was closed by server)
          unexpected end of stream, read 0 bytes from 4 (socket was closed by server)
          unexpected end of stream, read 0 bytes from 4 (socket was closed by server)
      
      

      Attachments

        Issue Links

          Activity

            People

              oleg.smirnov Oleg Smirnov
              grzegorz.dabrowski Grzegorz Dąbrowski
              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.