mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
add safemalloc back
... but differently client/mysqltest.cc: my_safe_print_str() don't append \n anymore dbug/dbug.c: restore safemalloc as a part of dbug suite dbug/user.r: restore 'S' flag documentation include/my_dbug.h: restore safemalloc as a part of dbug suite include/my_sys.h: move valgrind defines to a dedicated header mysys/my_malloc.c: use new safemalloc mysys/stacktrace.c: don't append \n. let the calller do it, if needed sql/mysqld.cc: my_safe_print_str() don't append \n anymore
This commit is contained in:
@ -235,6 +235,7 @@ void *alloc_root(MEM_ROOT *mem_root, size_t length)
|
||||
mem_root->used= next;
|
||||
mem_root->first_block_usage= 0;
|
||||
}
|
||||
TRASH_ALLOC(point, length);
|
||||
DBUG_PRINT("exit",("ptr: 0x%lx", (ulong) point));
|
||||
DBUG_RETURN((void*) point);
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user