1. 17 Aug, 2007 3 commits
  2. 15 Aug, 2007 4 commits
    • igor@olga.mysql.com's avatar
      Fixed bug #30396. · d790ec42
      igor@olga.mysql.com authored
      The bug caused memory corruption for some queries with top OR level
      in the WHERE condition if they contained equality predicates and 
      other sargable predicates in disjunctive parts of the condition.
      
      The corruption happened because the upper bound of the memory
      allocated for KEY_FIELD and SARGABLE_PARAM internal structures
      containing info about potential lookup keys was calculated incorrectly
      in some cases. In particular it was calculated incorrectly when the
      WHERE condition was an OR formula with disjuncts being AND formulas
      including equalities and other sargable predicates.
      d790ec42
    • mhansson@dl145s.mysql.com's avatar
      Merge mhansson@bk-internal.mysql.com:/home/bk/mysql-5.1-opt · 68048e42
      mhansson@dl145s.mysql.com authored
      into  dl145s.mysql.com:/data0/mhansson/my51-bug28570
      68048e42
    • mhansson/martin@linux-st28.site's avatar
      Merge linux-st28.site:/home/martin/mysql/src/bug28570/my50-bug28570 · eb35a876
      mhansson/martin@linux-st28.site authored
      into  linux-st28.site:/home/martin/mysql/src/bug28570/my51-bug28570
      eb35a876
    • mhansson/martin@linux-st28.site's avatar
      bug#28570: handler::index_read() is called with different find_flag when · 1da8451d
      mhansson/martin@linux-st28.site authored
      ORDER BY is used
      
      The range analysis module did not correctly signal to the 
      handler that a range represents a ref (EQ_RANGE flag). This causes 
      non-range queries like 
      SELECT ... FROM ... WHERE keypart_1=const, ..., keypart_n=const 
      ORDER BY ... FOR UPDATE
      to wait for a lock unneccesarily if another running transaction uses
      SELECT ... FOR UPDATE on the same table.
      
      Fixed by setting EQ_RANGE for all range accesses that represent 
      an equality predicate. 
      1da8451d
  3. 14 Aug, 2007 5 commits
  4. 13 Aug, 2007 5 commits
  5. 10 Aug, 2007 4 commits
  6. 08 Aug, 2007 5 commits
  7. 06 Aug, 2007 14 commits