• Sergey Vojtovich's avatar
    BUG#11766720 - setting storage engine to null segfaults mysqld · 4daaa028
    Sergey Vojtovich authored
    MONTHNAME(0) claims that it is about to return NOT NULL
    value, whereas it actually returns NULL.
    
    As a result storage_engine variable (which cannot be NULL)
    protection was bypassed and NULL value was accepted, causing
    server crash.
    
    Fixed MONTHNAME(0) to report valid NULL flag.
    4daaa028
item_timefunc.h 33.1 KB