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

Incorrect query result for binary_column NOT LIKE binary_column

Details

    Description

      I run the following statements, in which an empty query result should be reuturned.

      DROP TABLE IF EXISTS t1;
      CREATE TABLE t1 (c1 BLOB NOT NULL);
      INSERT INTO t1 (c1) VALUES (1);
      SELECT c1 FROM t1 WHERE c1 NOT LIKE c1; -- actual:{1}, expected:{}
      

      Attachments

        Issue Links

          Activity

            People

              Gosselin Dave Gosselin
              John Jove John Jove
              Votes:
              0 Vote for this issue
              Watchers:
              5 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.