• unknown's avatar
    BUG#31950 - repair table hangs while processing multicolumn utf8 · db4ef35a
    unknown authored
                fulltext index
    
    Having a table with broken multibyte characters may cause fulltext
    parser dead-loop.
    
    Since normally it is not possible to insert broken multibyte sequence
    into a table, this problem may arise only if table is damaged.
    
    Affected statements are:
    - CHECK/REPAIR against damaged table with fulltext index;
    - boolean mode phrase search against damaged table with or
      without fulltext inex;
    - boolean mode searches without index;
    - nlq searches.
    
    No test case for this fix. Affects 5.0 only.
    
    
    myisam/ft_parser.c:
      When skipping leading spaces, skip broken characters as well (broken
      characters a identified by mbl == 0).
    db4ef35a
ft_parser.c 6.48 KB