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
    • 11.3.2, 10.4(EOL), 10.5, 10.6, 10.11, 11.0(EOL), 11.1(EOL), 11.2(EOL), 11.3(EOL)
    • 10.5, 10.6, 10.11, 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

        Issue Links

          Activity

            People

              Johnston Rex Johnston
              John Jove John Jove
              Votes:
              0 Vote for this issue
              Watchers:
              3 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.