summaryrefslogtreecommitdiff
path: root/sql/sql_plugin.h
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2012-04-18 04:00:08 +0200
committerSergei Golubchik <sergii@pisem.net>2012-04-18 04:00:08 +0200
commit6e827f3455407ec8133bf888c19255ecbf93c20b (patch)
treede77bdc20d872d8854855487c54a0041a11db105 /sql/sql_plugin.h
parent415507d3924da6af7d841376a2ddfb902145666c (diff)
downloadmariadb-git-6e827f3455407ec8133bf888c19255ecbf93c20b.tar.gz
mdev-224 plugin usage statistics in the feedback reports
Diffstat (limited to 'sql/sql_plugin.h')
-rw-r--r--sql/sql_plugin.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_plugin.h b/sql/sql_plugin.h
index fc059142e24..eaa368f3515 100644
--- a/sql/sql_plugin.h
+++ b/sql/sql_plugin.h
@@ -99,6 +99,7 @@ struct st_plugin_int
struct st_plugin_dl *plugin_dl;
uint state;
uint ref_count; /* number of threads using the plugin */
+ uint locks_total; /* how many times the plugin was locked */
void *data; /* plugin type specific, e.g. handlerton */
MEM_ROOT mem_root; /* memory for dynamic plugin structures */
sys_var *system_vars; /* server variables for this plugin */