1. 12 Feb, 2010 6 commits
    • Alexander Nozdrin's avatar
      Fix tree name. · ccc354c1
      Alexander Nozdrin authored
      ccc354c1
    • Alexander Nozdrin's avatar
      a8eeb3fc
    • Evgeny Potemkin's avatar
      Auto-merged fix for the bug#50539. · 7313daef
      Evgeny Potemkin authored
      7313daef
    • Evgeny Potemkin's avatar
      Bug#50539: Wrong result when loose index scan is used for an aggregate · b5f40f34
      Evgeny Potemkin authored
                 function with distinct.
      Loose index scan is used to find MIN/MAX values using appropriate index and
      thus allow to avoid grouping. For each found row it updates non-aggregated
      fields with values from row with found MIN/MAX value.
      Without loose index scan non-aggregated fields are copied by end_send_group
      function. With loose index scan there is no need in end_send_group and
      end_send is used instead. Non-aggregated fields still need to be copied and
      this was wrongly implemented in QUICK_GROUP_MIN_MAX_SELECT::get_next.
      WL#3220 added a case when loose index scan can be used with end_send_group to
      optimize calculation of aggregate functions with distinct. In this case
      the row found by QUICK_GROUP_MIN_MAX_SELECT::get_next might belong to a next
      group and copying it will produce wrong result.
      
      Update of non-aggregated fields is moved to the end_send function from
      QUICK_GROUP_MIN_MAX_SELECT::get_next.
      b5f40f34
    • 's avatar
      Bug #43913 rpl_cross_version can't pass on conflicts complainig clash with · de551587
      authored
      --slave-load-tm
            
      The MDL_SHARED lock was introduced for an object in 5.4, but the 'TABLE_LIST' 
      object was not initialized with the MDL_SHARED lock when applying event with 
      LOAD DATA INFILE into table. So the failure is caused when checking the 
      MDL_SHARED lock for the object.
            
      To fix the problem, the 'TABLE_LIST' object was initialized with the MDL_SHARED 
      lock when applying event with LOAD DATA INFILE into table.
      de551587
    • 's avatar
      Bug #43913 rpl_cross_version can't pass on conflicts complainig clash with · 6bad4574
      authored
      --slave-load-tm
            
      The MDL_SHARED lock was introduced for an object in 5.4, but the 'TABLE_LIST' 
      object was not initialized with the MDL_SHARED lock when applying event with 
      LOAD DATA INFILE into table. So the failure is caused when checking the 
      MDL_SHARED lock for the object.
      To fix the problem, the 'TABLE_LIST' object was initialized with the MDL_SHARED 
      lock when applying event with LOAD DATA INFILE into table.
      6bad4574
  2. 11 Feb, 2010 5 commits
  3. 10 Feb, 2010 8 commits
  4. 09 Feb, 2010 12 commits
  5. 08 Feb, 2010 4 commits
  6. 05 Feb, 2010 5 commits