• Sergei Golubchik's avatar
    MDEV-4316 MariaDB server crash with signal 11 · a4c7751b
    Sergei Golubchik authored
    fulltext search was initialized for all MATCH ... AGAINST items
    at the end of the JOIN::optimize(). But since 5.3 derived tables
    are initialized lazily on first use, very late in the sub_select().
    
    Skip Item_func_match::init_search initialization if the corresponding
    table isn't open yet; repeat fulltext initialization for all
    not-yet-initialized MATCH ... AGAINST items after creating derived tables.
    a4c7751b
fulltext_derived_4316.test 296 Bytes