mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
10.0-base -> 10.0-monty
This commit is contained in:
@@ -1095,7 +1095,8 @@ static struct st_mysql_sys_var* example_system_variables[]= {
|
||||
NULL
|
||||
};
|
||||
|
||||
// this is an example of SHOW_FUNC and of my_snprintf() service
|
||||
// this is an example of SHOW_SIMPLE_FUNC and of my_snprintf() service
|
||||
// If this function would return an array, one should use SHOW_FUNC
|
||||
static int show_func_example(MYSQL_THD thd, struct st_mysql_show_var *var,
|
||||
char *buf)
|
||||
{
|
||||
@@ -1109,7 +1110,7 @@ static int show_func_example(MYSQL_THD thd, struct st_mysql_show_var *var,
|
||||
|
||||
static struct st_mysql_show_var func_status[]=
|
||||
{
|
||||
{"example_func_example", (char *)show_func_example, SHOW_FUNC},
|
||||
{"example_func_example", (char *)show_func_example, SHOW_SIMPLE_FUNC},
|
||||
{0,0,SHOW_UNDEF}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user