List:Commits« Previous MessageNext Message »
From:Georgi Kodinov Date:January 13 2011 9:12am
Subject:bzr push into mysql-5.5 branch (Georgi.Kodinov:3234 to 3235)
View as plain text  
 3235 Georgi Kodinov	2011-01-13 [merge]
      null merge of the version bumps.

 3234 Ole John Aske	2011-01-13
      Fix for Bug#57034 incorrect OUTER JOIN result when joined on unique key
      
      Item_equal::val_int() checked for NULL-values by checking Item::null_value
      *before* the respective ::store_value() and ::cmp(Item*) metods where called.
      
      As Item::null_value is set by these metods, the value of 'null_value' 
      is not valid until *after* ::store_value() or ::cmp() has
      been called for the Item object.
            
      Fix is to swap order of ::store_value()/::cmp() and checking of Item::null_value.
      This pattern is widely used other places inside item_cmpfunc.cc .

    modified:
      mysql-test/r/join_outer.result
      mysql-test/t/join_outer.test
      sql/item_cmpfunc.cc
No bundle (reason: useless for push emails).
Thread
bzr push into mysql-5.5 branch (Georgi.Kodinov:3234 to 3235) Georgi Kodinov13 Jan