diff options
| author | Oleksandr Byelkin <sanja@mariadb.com> | 2014-10-22 19:47:05 +0200 |
|---|---|---|
| committer | Oleksandr Byelkin <sanja@mariadb.com> | 2014-10-22 19:58:50 +0200 |
| commit | af93dc48cffdc9a071e3ec6e1fe51f1d7d06686b (patch) | |
| tree | 938d7fa8cbefa67161d50172ff962a842904d71c /sql/sql_plugin.h | |
| parent | c3db4459561bc491582bef6bea7b83e9fe464a10 (diff) | |
| download | mariadb-git-af93dc48cffdc9a071e3ec6e1fe51f1d7d06686b.tar.gz | |
MDEV-5231: Per query variables from Percona Server (rewritten)bb-set-statement
Diffstat (limited to 'sql/sql_plugin.h')
| -rw-r--r-- | sql/sql_plugin.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sql/sql_plugin.h b/sql/sql_plugin.h index 6b310865bba..59970b61574 100644 --- a/sql/sql_plugin.h +++ b/sql/sql_plugin.h @@ -189,4 +189,12 @@ extern bool plugin_foreach_with_mask(THD *thd, plugin_foreach_func *func, int type, uint state_mask, void *arg); extern bool plugin_dl_foreach(THD *thd, const LEX_STRING *dl, plugin_foreach_func *func, void *arg); + +/** + Create deep copy of system_variables instance. +*/ +extern +struct system_variables * +copy_system_variables(const struct system_variables *src); +extern void free_system_variables(struct system_variables *v); #endif |
