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

Incorrect query result

    XMLWordPrintable

Details

    • Bug
    • Status: Confirmed (View Workflow)
    • Critical
    • Resolution: Unresolved
    • 10.4, 10.5, 10.6, 10.11, 11.0, 11.1, 11.2, 11.3, 11.3.2
    • 10.4, 10.5, 10.6, 10.11, 11.1, 11.2, 11.4
    • Optimizer
    • None

    Description

      Run the following statement, in which the first query returns an incorrect query result.

      CREATE TABLE t1 (c1 float, KEY i1 (c1));
      INSERT INTO t1(c1) VALUES (-9.183);
      SELECT c1 FROM t1 WHERE (BINARY c1) NOT IN (SELECT c1 FROM t1 USE INDEX (i1)); -- actual:{}, expected: {-9.183}
      

      Attachments

        Activity

          People

            psergei Sergei Petrunia
            John Jove John Jove
            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.