mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Fix a Valgrind leak error report for not freed binlog injector singleton.
sql/mysqld.cc: Free the binlog injector singleton during shutdown. sql/rpl_injector.cc: Add free_instance() method. sql/rpl_injector.h: Add free_instance() method.
This commit is contained in:
@ -59,6 +59,11 @@ public:
|
||||
*/
|
||||
static injector *instance();
|
||||
|
||||
/*
|
||||
Delete the singleton instance (if allocated). Used during server shutdown.
|
||||
*/
|
||||
static void free_instance();
|
||||
|
||||
/*
|
||||
A transaction where rows can be added.
|
||||
|
||||
|
Reference in New Issue
Block a user