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

The select result is incorrect

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Not a Bug
    • 10.11.6
    • N/A
    • Server
    • None

    Description

      Reproduce step:

      docker run --restart=always --name mariadb -p 3318:3306 -e MYSQL_ROOT_PASSWORD=123456 -d quay.io/mariadb-foundation/mariadb-devel:latest-lts

      And then in mariadb,

      create database test;
      use test;
      source init_tables.sql;
      

      first execution run the SQL query in select_query.sql

      second execution run

      SET Global range_alloc_block_size = 4096;SET Session join_buffer_size = 128;SET Session max_error_count = 65535;
      

      and the SQL query in select_query.sql

      You will find that the results of the two runs are completely different.

      Attachments

        1. diffres
          18 kB
        2. first execution
          30 kB
        3. init_tables.sql
          5.58 MB
        4. second execution
          30 kB
        5. select_query.sql
          10 kB

        Activity

          People

            Unassigned Unassigned
            csfuzz csfuzz
            Votes:
            0 Vote for this issue
            Watchers:
            3 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.