• Satya B's avatar
    Applying InnoDB snashot 5.1-ss4699, part 3. Fixes BUG#43660 · c470d5e4
    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)
    
    c470d5e4
ha_innodb.cc 241 KB