Commit 9865f9ec 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 a5ffc6fa
...@@ -91,6 +91,9 @@ public: ...@@ -91,6 +91,9 @@ public:
longlong def_val, PolyLock *lock, enum binlog_status_enum binlog_status_arg, longlong def_val, PolyLock *lock, enum binlog_status_enum binlog_status_arg,
on_check_function on_check_func, on_update_function on_update_func, on_check_function on_check_func, on_update_function on_update_func,
uint deprecated_version, const char *substitute, int parse_flag); uint deprecated_version, const char *substitute, int parse_flag);
virtual ~sys_var() {}
/** /**
All the cleanup procedures should be performed here 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