• Monty's avatar
    Don't write warning about uninitialized mutex if there is a memory leak · 0bcb65d3
    Monty authored
    Part of:
    MDEV-21056 Assertion `global_status_var.global_memory_used == 0'
    failed upon shutdown after query with DEFAULT on a geometry
    field
    
    Fixed by changing the ASSERT for memory leaks to a printf() on
    stderr. This has needed as all mutex in mysys has been deleted and we
    can't call functions like my_open() anymore.
    
    Also added printing of leaks if safemalloc is used (like we do in 10.5)
    0bcb65d3
mysqld.cc 352 KB