• Nirbhay Choubey's avatar
    MDEV-7397: SIGSEGV on inserting into a key-less table · 61f73d40
    Nirbhay Choubey authored
    When wsrep is enabled, an md5 hash of the entire row is calculated
    for tables with no PK. It, however segfaulted as the md5 context
    object was not properly constructed.
    
    Fixed by ensuring that the YaSSL's context object gets constructed
    explicitly at the specified pre-allocated location (placement)
    before its used.
    
    Added a test case.
    61f73d40
my_md5.cc 3.4 KB