1. 28 Apr, 2009 6 commits
    • Jim Winstead's avatar
      Check for MEMORY, HEAP, and BLACKHOLE in mysql_convert_table_format when · f3604c2d
      Jim Winstead authored
      preventing a change that would result in table data loss. (Bug #27149)
      
      Also updated mysql_convert_table_format to use --engine as the documentation
      claimed, and use the engine terminology throughout instead of the obsolete
      'table type'.
      f3604c2d
    • Jim Winstead's avatar
      Bug #27884: mysql --html does not quote HTML special characters in output · 50877881
      Jim Winstead authored
        Fix encoding of field values and names in HTML output from mysql client.
      50877881
    • Staale Smedseng's avatar
      Merge from 5.0-bugteam · 862966de
      Staale Smedseng authored
      862966de
    • Staale Smedseng's avatar
      Bug#35769 typo in mysqlhotcopy documentation · e773c1c6
      Staale Smedseng authored
            
      Fixed a number of typos, and made punctuation and
      capitalization more consistent in documentation
      and help.
      e773c1c6
    • Gleb Shchepa's avatar
      manual merge 5.0-bugteam --> 5.1-bugteam · 5fcbc066
      Gleb Shchepa authored
      5fcbc066
    • Gleb Shchepa's avatar
      backport from 6.0: · 5e2fe847
      Gleb Shchepa authored
      Bug #40925: Equality propagation takes non indexed attribute
      
      Query execution plans and execution time of queries like
      
        select a, b, c from t1
          where a > '2008-11-21' and b = a limit 10
      
      depended on the order of equality operator parameters:
      "b = a" and "a = b" are not same. 
      
      
      An equality propagation algorithm has been fixed:
      the substitute_for_best_equal_field function should not
      substitute a field for an equal field if both fields belong
      to the same table.
      
      
      mysql-test/r/select.result:
        Added test case for bug #40925.
      mysql-test/t/select.test:
        Added test case for bug #40925.
      sql/item.cc:
        Bug #40925: Equality propagation takes non indexed attribute
        
        An equality propagation algorithm has been fixed:
        the substitute_for_best_equal_field function should not 
        substitute a field for an equal field if both fields belong
        to the same table.
      5e2fe847
  2. 27 Apr, 2009 1 commit
  3. 24 Apr, 2009 9 commits
  4. 23 Apr, 2009 5 commits
  5. 21 Apr, 2009 4 commits
  6. 20 Apr, 2009 1 commit
    • Satya B's avatar
      Applying InnoDB snashot 5.1-ss3603. Fixes BUG#27276 · 16310354
      Satya B authored
      1) BUG#27276 - InnoDB Error: ibuf cursor restoration fails
      
      2) Follow up fix for BUG#27276 which fixes the bug introduced in
         the previous revision r2924
      
      Detailed revision comments:
      
      r2924 | marko | 2008-10-29 10:07:48 +0200 (Wed, 29 Oct 2008) | 7 lines
      branches/5.1: Merge revision 2866 from branches/zip:
      
      ibuf_delete_rec(): When the cursor to the insert buffer record cannot be
      restored, do not complain if the tablespace does not exist. (Bug #27276)
      
      Approved by Sunny Bains (rb://34)
      
      r3598 | marko | 2008-12-22 15:28:03 +0200 (Mon, 22 Dec 2008) | 6 lines
      branches/5.1: ibuf_delete_rec(): When the record cannot be found and
      the tablespace has been dropped, commit the mini-transaction, so that
      InnoDB will not hold the insert buffer tree latch in exclusive mode,
      causing a potential deadlock.  This bug was introduced in the fix of
      Bug #27276 in r2924.
      
      16310354
  7. 17 Apr, 2009 8 commits
  8. 16 Apr, 2009 4 commits
  9. 15 Apr, 2009 2 commits
    • Alfranio Correia's avatar
      bd1da65f
    • Satya B's avatar
      Applying InnoDB snashot 5.1-ss4699, part 3. Fixes BUG#43660 · 4d561a2a
      Satya B authored
      1) BUG#43660 - SHOW INDEXES/ANALYZE does NOT update cardinality 
                     for indexes of InnoDB table
      
      Detailed revision comments:
      
      r4699 | vasil | 2009-04-09 14:01:52 +0300 (Thu, 09 Apr 2009) | 15 lines
      branches/5.1:
      
      Fix Bug#43660 SHOW INDEXES/ANALYZE does NOT update cardinality for indexes
      of InnoDB table
      
      by replacing the PRNG that is used to pick random pages with a better
      one.
      
      This is based on r4670 but also adds a new configuration option and
      enables the fix only if this option is changed. Please skip the present
      revision when merging.
      
      Approved by:	Heikki (via email)
      
      4d561a2a