• Sergey Glukhov's avatar
    Bug#41212 crash after race condition between merge table and table_cache evictions · cb07978d
    Sergey Glukhov authored
    On 64-bit Windows: querying MERGE table with keys may cause
    server crash.The problem is generic and may affect any statement
    accessing MERGE table cardinality values.
    When MERGE engine was copying cardinality statistics, it was
    using incorrect size of element in cardinality statistics array
    (sizeof(ptr)==8 instead of sizeof(ulong)==4), causing access
    of memory beyond of the allocated bounds.
    cb07978d
ha_myisam.cc 60.2 KB