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

Incorrect query results for an indexed text column

Details

    Description

      I run the following statements, in which an incorrect query result is returned.

      CREATE TABLE t1 (c1 TEXT, UNIQUE (c1(1)));
      INSERT INTO t1 (c1) VALUES ('a');
      SELECT c1 FROM t1 WHERE ('abc' IN (SELECT c1 FROM t1)) IS FALSE; -- {}, expected: {a}
      

      Attachments

        Activity

          People

            psergei Sergei Petrunia
            John Jove John Jove
            Votes:
            0 Vote for this issue
            Watchers:
            4 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.