summaryrefslogtreecommitdiff
path: root/sql/sql_plugin.h
diff options
context:
space:
mode:
authorAlexey Botchkov <holyfoot@askmonty.org>2019-05-24 20:48:09 +0400
committerAlexey Botchkov <holyfoot@askmonty.org>2019-05-24 20:48:09 +0400
commit6162e7585e7a6a2f50e5e62ba8227614f9f307c1 (patch)
tree18b7635ffdbaaffb453fba29fba1bde2dbbae6dd /sql/sql_plugin.h
parent4d89931a4b76b0170e30fa7bae6991b58201d97f (diff)
downloadmariadb-git-bb-hf-sup25102.tar.gz
Custom build.bb-hf-sup25102
Diffstat (limited to 'sql/sql_plugin.h')
-rw-r--r--sql/sql_plugin.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_plugin.h b/sql/sql_plugin.h
index 7b89246a9f9..0d7f7658c1f 100644
--- a/sql/sql_plugin.h
+++ b/sql/sql_plugin.h
@@ -111,7 +111,7 @@ struct st_plugin_int
st_ptr_backup *ptr_backup;
uint nbackups;
uint state;
- uint ref_count; /* number of threads using the plugin */
+ volatile int32 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 */