diff options
author | Monty <monty@mariadb.org> | 2020-04-17 19:21:03 +0300 |
---|---|---|
committer | Monty <monty@mariadb.org> | 2020-04-18 12:32:36 +0300 |
commit | 0bcb65d358087bf94e217254f812f913343a6f5d (patch) | |
tree | e24956a1aca590fc89d07848d98b67a8eddcac68 /mysql-test/mysql-test-run.pl | |
parent | 749b9887943dadbed027412a2d6df2ab6c5ee275 (diff) | |
download | mariadb-git-0bcb65d358087bf94e217254f812f913343a6f5d.tar.gz |
Don't write warning about uninitialized mutex if there is a memory leak
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)
Diffstat (limited to 'mysql-test/mysql-test-run.pl')
0 files changed, 0 insertions, 0 deletions