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

Possible bug in JOIN_CACHE::get_min_join_buffer_size()

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.0.1, 5.5.29, 5.3.12
    • Fix Version/s: 10.0.2, 5.5.31, 5.3.13
    • Component/s: None
    • Labels:
      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

            Assignee:
            wlad Vladislav Vaintroub
            Reporter:
            pivanof Pavel Ivanov
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: