mirror of
https://github.com/MariaDB/server.git
synced 2026-04-30 12:15:32 +02:00
Bug#16027468 ADDRESSSANITIZER BUG IN MYSQLTEST
DBUG_ENTER and DBUG_LEAVE must *always* match, otherwise all subsequent DBUG_ENTER calls will be poking into undefined stack frames.
This commit is contained in:
parent
98aaf18bc7
commit
4a35c6d44b
1 changed files with 1 additions and 2 deletions
|
|
@ -1168,7 +1168,7 @@ void close_files()
|
|||
void free_used_memory()
|
||||
{
|
||||
uint i;
|
||||
DBUG_ENTER("free_used_memory");
|
||||
// Do not use DBUG_ENTER("free_used_memory"); here, see below.
|
||||
|
||||
if (connections)
|
||||
close_connections();
|
||||
|
|
@ -1206,7 +1206,6 @@ void free_used_memory()
|
|||
mysql_server_end();
|
||||
|
||||
/* Don't use DBUG after mysql_server_end() */
|
||||
DBUG_VIOLATION_HELPER_LEAVE;
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue