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

Possible bug in JOIN_CACHE::get_min_join_buffer_size()

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 10.0.1, 5.5.29, 5.3.12
    • 10.0.2, 5.5.31, 5.3.13
    • None
    • None

    Description

      10.0.1 tarball has very suspicious code in sql/sql_join_cache.cc line 777:

            len+= tab->get_max_used_fieldlength();
            len_last=+ tab->get_used_fieldlength();

      Note that on the second line '+' is after '='. Looking at the surroundings it seems that '+' was supposed to be before '='. Please check if it's a bug.

      Attachments

        Activity

          People

            wlad Vladislav Vaintroub
            pivanof Pavel Ivanov
            Votes:
            0 Vote for this issue
            Watchers:
            4 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.