Commit 4247e444 authored by Davi Arnaut's avatar Davi Arnaut

Bug#53251: mysql_library_init fails on second execution with embedded library

Add a virtual destructor. Class has virtual functions.
parent 60386f26
......@@ -91,6 +91,9 @@ class sys_var
longlong def_val, PolyLock *lock, enum binlog_status_enum binlog_status_arg,
on_check_function on_check_func, on_update_function on_update_func,
uint deprecated_version, const char *substitute, int parse_flag);
virtual ~sys_var() {}
/**
All the cleanup procedures should be performed here
*/
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment