• Marko Mäkelä's avatar
    Merge Bug#54686 fix from mysql-5.1-innodb: · fdafbdfb
    Marko Mäkelä authored
    ------------------------------------------------------------
    revno: 3517
    revision-id: marko.makela@oracle.com-20100622115215-kxtzx7xuugcxd375
    parent: marko.makela@oracle.com-20100621095148-8g73k8k68dpj080u
    committer: Marko Mäkelä <marko.makela@oracle.com>
    branch nick: 5.1-innodb
    timestamp: Tue 2010-06-22 14:52:15 +0300
    message:
      Bug#54686 "field->col->mtype == type" assertion error at row/row0sel.c
      ha_innobase::index_read(), ha_innobase::records_in_range(): Check that
      the index is useable before invoking row_sel_convert_mysql_key_to_innobase().
    
      This fix is based on a suggestion by Yasufumi Kinoshita.
    fdafbdfb
ha_innodb.cc 325 KB