summaryrefslogtreecommitdiff
path: root/sql/sql_plugin.h
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2013-04-09 23:27:29 +0200
committerSergei Golubchik <sergii@pisem.net>2013-04-09 23:27:29 +0200
commitc7eead7a965b33fbad5099c927d2bb0723725bf3 (patch)
tree177346cb9ed608d68b7badcaff352ee32a19a7c6 /sql/sql_plugin.h
parent5f293dd694f9b1b4a0bdf73bb6ae80cda70f21d4 (diff)
downloadmariadb-git-c7eead7a965b33fbad5099c927d2bb0723725bf3.tar.gz
MDEV-3807 show plugins soname 'xxx'
and INFORMATION_SCHEMA.ALL_PLUGINS table with condition pushdown for I_S.ALL_PLUGINS and a new status variable to cound successful dlopen's
Diffstat (limited to 'sql/sql_plugin.h')
-rw-r--r--sql/sql_plugin.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sql/sql_plugin.h b/sql/sql_plugin.h
index bf4dbef6fc8..11c91fe93eb 100644
--- a/sql/sql_plugin.h
+++ b/sql/sql_plugin.h
@@ -39,6 +39,8 @@ enum enum_plugin_load_option { PLUGIN_OFF, PLUGIN_ON, PLUGIN_FORCE,
PLUGIN_FORCE_PLUS_PERMANENT };
extern const char *global_plugin_typelib_names[];
+extern ulong dlopen_count;
+
#include <my_sys.h>
#ifdef DBUG_OFF
@@ -174,4 +176,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 bool plugin_dl_foreach(THD *thd, const LEX_STRING *dl,
+ plugin_foreach_func *func, void *arg);
#endif