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

Incorrect query results for some integer data types

Details

    • Bug
    • Status: Confirmed (View Workflow)
    • Critical
    • Resolution: Unresolved
    • 11.8.1
    • 11.8
    • Server
    • None

    Description

      I run the following case, in which the query should return an empty result.

      CREATE TABLE t1 (c1 TINYINT);
      INSERT INTO t1 (c1) VALUES (1);
      SELECT c1 FROM t1 WHERE ((c1) NOT IN (FROM_DAYS(0))) NOT IN (1); -- actual: {1}, expected: {}
      

      Attachments

        Activity

          People

            bar Alexander Barkov
            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.