summaryrefslogtreecommitdiff
path: root/include/mysql/plugin_encryption.h.pp
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2022-12-13 18:01:49 +0200
committerMarko Mäkelä <marko.makela@mariadb.com>2022-12-13 18:01:49 +0200
commit25b91c3f13affc1b58169240894b206ff34b1db3 (patch)
tree4042ba02c9777eabc030c80f376cd6e25114ac6d /include/mysql/plugin_encryption.h.pp
parentdbcbee10176dde410867a3762385a9e5ee63e1d3 (diff)
parenta8a5c8a1b8ac566241d43a85de90c11f5d1568d9 (diff)
downloadmariadb-git-25b91c3f13affc1b58169240894b206ff34b1db3.tar.gz
Merge 10.6 into 10.7
Diffstat (limited to 'include/mysql/plugin_encryption.h.pp')
-rw-r--r--include/mysql/plugin_encryption.h.pp10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/mysql/plugin_encryption.h.pp b/include/mysql/plugin_encryption.h.pp
index 96100d3791b..ac5798b1323 100644
--- a/include/mysql/plugin_encryption.h.pp
+++ b/include/mysql/plugin_encryption.h.pp
@@ -517,6 +517,16 @@ struct st_mysql_show_var {
};
struct system_status_var;
typedef int (*mysql_show_var_func)(THD*, struct st_mysql_show_var*, void *, struct system_status_var *status_var, enum enum_var_type);
+static inline
+struct st_mysql_show_var SHOW_FUNC_ENTRY(const char *name,
+ mysql_show_var_func func_arg)
+{
+ struct st_mysql_show_var tmp;
+ tmp.name= name;
+ tmp.value= (void*) func_arg;
+ tmp.type= SHOW_FUNC;
+ return tmp;
+};
struct st_mysql_sys_var;
struct st_mysql_value;
typedef int (*mysql_var_check_func)(THD* thd,