• Satya B's avatar
    Applying InnoDB snapshot 5.1-ss5921, part 3. Fixes BUG#46256 · 00297f65
    Satya B authored
    1. BUG#46256 - drop table with unknown collation crashes innodb
    
    Note: No testcase attached and has to be verified manually
    
    Detailed revision comments:
    
    r5799 | calvin | 2009-09-09 20:47:31 +0300 (Wed, 09 Sep 2009) | 10 lines
    branches/5.1: fix bug#46256
    
    Allow tables to be dropped even if the collation is not found,
    but issue a warning.
    
    Could not find an easy way to add mysql-test since it requires
    changes to charsets and restarting the server. Tests were
    executed manually.
    
    Approved by: Heikki (on IM)
    r5805 | vasil | 2009-09-10 08:41:48 +0300 (Thu, 10 Sep 2009) | 7 lines
    branches/5.1:
    
    Fix a compilation warning caused by c5799:
    
    handler/ha_innodb.cc: In function 'void innobase_get_cset_width(ulint, ulint*, ulint*)':
    handler/ha_innodb.cc:830: warning: format '%d' expects type 'int', but argument 2 has type 'ulint'
    00297f65
ha_innodb.cc 252 KB