summaryrefslogtreecommitdiff
path: root/sql/sql_plugin.h
diff options
context:
space:
mode:
authorVladislav Vaintroub <wlad@mariadb.com>2016-08-03 13:42:46 +0000
committerVladislav Vaintroub <wlad@mariadb.com>2016-08-03 13:42:46 +0000
commit511313b9d640b8e4b2860980e79889f125d3cd5e (patch)
tree6d105197590dd9c9741e672883af091c92ffcecb /sql/sql_plugin.h
parent141f88d1d5bd61ed736d200a9dd9d5c8d1a437ab (diff)
downloadmariadb-git-511313b9d640b8e4b2860980e79889f125d3cd5e.tar.gz
MDEV-10010 - potential deadlock on windows due to recursive
SRWLock acquisition Backport patch from 10.1
Diffstat (limited to 'sql/sql_plugin.h')
-rw-r--r--sql/sql_plugin.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/sql_plugin.h b/sql/sql_plugin.h
index be1cfcdcc4f..fcc73c83adb 100644
--- a/sql/sql_plugin.h
+++ b/sql/sql_plugin.h
@@ -174,4 +174,6 @@ typedef my_bool (plugin_foreach_func)(THD *thd,
#define plugin_foreach(A,B,C,D) plugin_foreach_with_mask(A,B,C,PLUGIN_IS_READY,D)
extern bool plugin_foreach_with_mask(THD *thd, plugin_foreach_func *func,
int type, uint state_mask, void *arg);
+
+extern void sync_dynamic_session_variables(THD* thd, bool global_lock);
#endif