diff options
author | Evgeny Potemkin <epotemkin@mysql.com> | 2010-09-09 16:02:02 +0400 |
---|---|---|
committer | Evgeny Potemkin <epotemkin@mysql.com> | 2010-09-09 16:02:02 +0400 |
commit | a5ffc6faf5a4dae5990efd661278e63bd6f146ba (patch) | |
tree | faf65fc6331f18f1c88604739d2399177e136314 /sql/set_var.h | |
parent | e435df8e096b6a0b80f35e57a24bf30cba446059 (diff) | |
parent | c36483a3c63b70c9535e6db9d3e97973f7739944 (diff) | |
download | mariadb-git-a5ffc6faf5a4dae5990efd661278e63bd6f146ba.tar.gz |
Auto-merged.
Diffstat (limited to 'sql/set_var.h')
-rw-r--r-- | sql/set_var.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sql/set_var.h b/sql/set_var.h index 5f1f889c4ce..ece3b80edb4 100644 --- a/sql/set_var.h +++ b/sql/set_var.h @@ -92,10 +92,9 @@ public: on_check_function on_check_func, on_update_function on_update_func, uint deprecated_version, const char *substitute, int parse_flag); /** - The instance should only be destroyed on shutdown, as it doesn't unlink - itself from the chain. + All the cleanup procedures should be performed here */ - virtual ~sys_var() {} + virtual void cleanup() {} /** downcast for sys_var_pluginvar. Returns this if it's an instance of sys_var_pluginvar, and 0 otherwise. |