[MDEV-4225] Possible bug in JOIN_CACHE::get_min_join_buffer_size() Created: 2013-03-02  Updated: 2013-03-07  Resolved: 2013-03-07

Status: Closed
Project: MariaDB Server
Component/s: None
Affects Version/s: 10.0.1, 5.5.29, 5.3.12
Fix Version/s: 10.0.2, 5.5.31, 5.3.13

Type: Bug Priority: Major
Reporter: Pavel Ivanov Assignee: Vladislav Vaintroub
Resolution: Fixed Votes: 0
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.



 Comments   
Comment by Pavel Ivanov [ 2013-03-02 ]

Sorry, jira formatter ate away '+' symbols in the description and I can't edit to fix it.

Comment by Elena Stepanova [ 2013-03-03 ]

I've kept the priority as initially set by reporter, please adjust if needed.

Comment by Elena Stepanova [ 2013-03-07 ]

I saw on IRC that Wlad was going to fix this (and confirmed with Igor), so reassigning accordingly.

Comment by Vladislav Vaintroub [ 2013-03-07 ]

pushed to 5.3

Generated at Thu Feb 08 06:54:45 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.