summaryrefslogtreecommitdiff
path: root/sql/sql_plugin.h
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2010-03-12 20:05:21 +0100
committerSergei Golubchik <sergii@pisem.net>2010-03-12 20:05:21 +0100
commit71b3e46b0160936596195682a731703900fb4fff (patch)
tree936d6745468395c3462b136b5a997f67dc88ccdc /sql/sql_plugin.h
parentedfd875fc1620964d68c9acbd3d36213f1c1663a (diff)
downloadmariadb-git-71b3e46b0160936596195682a731703900fb4fff.tar.gz
1. don't crash on failing to load a plugin with newer MYSQL_PLUGIN_INTERFACE_VERSION
2. don't copy st_mysql_plugin structure unnecessary (sizeof hasn't changed)
Diffstat (limited to 'sql/sql_plugin.h')
-rw-r--r--sql/sql_plugin.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/sql_plugin.h b/sql/sql_plugin.h
index 54ef38b3734..79ee296ac64 100644
--- a/sql/sql_plugin.h
+++ b/sql/sql_plugin.h
@@ -63,7 +63,8 @@ struct st_plugin_dl
LEX_STRING dl;
void *handle;
struct st_mysql_plugin *plugins;
- int version;
+ int version;
+ bool allocated;
uint ref_count; /* number of plugins loaded from the library */
};