• Marko Mäkelä's avatar
    MDEV-16865 InnoDB fts_query() ignores KILL · a7f84f09
    Marko Mäkelä authored
    The functions fts_ast_visit() and fts_query() inside
    InnoDB FULLTEXT INDEX query processing are not checking
    for THD::killed (trx_is_interrupted()), like anything
    that potentially takes a long time should do.
    
    This is a port of the following change from MySQL 5.7.23,
    with a completely rewritten test case.
    
    commit c58c6f8f66ddd0357ecd0c99646aa6bf1dae49c8
    Author: Aakanksha Verma <aakanksha.verma@oracle.com>
    Date:   Fri May 4 15:53:13 2018 +0530
    
    Bug #27155294 MAX_EXECUTION_TIME NOT INTERUPTED WITH FULLTEXT SEARCH USING MECAB
    a7f84f09
fts0que.cc 118 KB