1. 23 Oct, 2009 4 commits
  2. 22 Oct, 2009 2 commits
  3. 21 Oct, 2009 4 commits
  4. 20 Oct, 2009 14 commits
  5. 19 Oct, 2009 8 commits
  6. 18 Oct, 2009 2 commits
  7. 17 Oct, 2009 1 commit
  8. 16 Oct, 2009 5 commits
    • Bjorn Munch's avatar
      merge from 5.1 main · 6c9cb9ba
      Bjorn Munch authored
      6c9cb9ba
    • Alexey Kopytov's avatar
      Bug #47123: Endless 100% CPU loop with STRAIGHT_JOIN · 8e931fe5
      Alexey Kopytov authored
       
      The problem was in incorrect handling of predicates involving 
      NULL as a constant value by the range optimizer. 
       
      For example, when creating a SEL_ARG node from a condition of 
      the form "field < const" (which would normally result in the 
      "NULL < field < const" SEL_ARG),  the special case when "const" 
      is NULL was not taken into account, so "NULL < field < NULL" 
      was produced for the "field < NULL" condition. 
       
      As a result, SEL_ARG structures of this form could not be 
      further optimized which in turn could lead to incorrectly 
      constructed SEL_ARG trees. In particular, code assuming SEL_ARG 
      structures to always form a sequence of ordered disjoint 
      intervals could enter an infinite loop under some 
      circumstances. 
       
      Fixed by changing get_mm_leaf() so that for any sargable 
      predicate except "<=>" involving NULL as a constant, "empty" 
      SEL_ARG is returned, since such a predicate is always false. 
      8e931fe5
    • Joerg Bruehe's avatar
      0e11bad5
    • Joerg Bruehe's avatar
      Upmerge a merge changeset. · 34358bec
      Joerg Bruehe authored
      34358bec
    • Joerg Bruehe's avatar
      Upmerge merge changesets. · ee56b111
      Joerg Bruehe authored
      ee56b111