• holyfoot@deer.(none)'s avatar
    bug #16017 (memory leaks in embedded server) · bc35c500
    holyfoot@deer.(none) authored
    There actually was 3 different problems -
    hash_user_connections wasn't cleaned
    one strdupped database name wasn't freed
    and stmt->mem_root wasn't cleaned as it was
    replased with mysql->field_alloc for result
    For the last one - i made the library using stmt's
    fields to store result if it's the case.
    bc35c500
lib_sql.cc 20.9 KB