• Marko Mäkelä's avatar
    Merge Bug#55832 fix from mysql-5.1-innodb: · 938ce0ef
    Marko Mäkelä authored
    ------------------------------------------------------------
    revno: 3550
    revision-id: marko.makela@oracle.com-20100824081003-v4ecy0tga99cpxw2
    parent: marko.makela@oracle.com-20100823102854-t1clrojqis2ley36
    committer: Marko Mäkelä <marko.makela@oracle.com>
    branch nick: 5.1-innodb
    timestamp: Tue 2010-08-24 11:10:03 +0300
    message:
      Bug#55832: selects crash too easily when innodb_force_recovery>3
    
      dict_update_statistics_low(): Create bogus statistics for those
      indexes that cannot be accessed because of the innodb_force_recovery
      setting.
    
      ha_innobase::info(): Calculate statistics for each index, even if
      innodb_force_recovery is set. Fill in bogus data for those indexes
      that are not accessed because of the innodb_force_recovery setting.
    938ce0ef
ha_innodb.cc 325 KB