Loading configure.in +1 −1 Original line number Diff line number Diff line Loading @@ -7,7 +7,7 @@ AC_INIT(sql/mysqld.cc) AC_CANONICAL_SYSTEM # The Docs Makefile.am parses this line! # remember to also change ndb version below and update version.c in ndb AM_INIT_AUTOMAKE(mysql, 5.1.9-beta) AM_INIT_AUTOMAKE(mysql, 5.1.10-beta) AM_CONFIG_HEADER(config.h) PROTOCOL_VERSION=10 Loading plugin/fulltext/configure.in +1 −0 Original line number Diff line number Diff line Loading @@ -2,6 +2,7 @@ AC_INIT(plugin_example, 0.1) AM_INIT_AUTOMAKE AC_DISABLE_STATIC AC_PROG_LIBTOOL AC_CONFIG_FILES([Makefile]) AC_OUTPUT Loading plugin/fulltext/plugin_example.c +6 −5 Original line number Diff line number Diff line Loading @@ -17,7 +17,7 @@ #include <ctype.h> #include <mysql/plugin.h> long number_of_calls= 0; /* for SHOW STATUS, see below */ static long number_of_calls= 0; /* for SHOW STATUS, see below */ /* Simple full-text parser plugin that acts as a replacement for the Loading Loading @@ -84,7 +84,7 @@ static int simple_parser_plugin_deinit(void) /* Initialize the parser at ... [WHEN] Initialize the parser on the first use in the query SYNOPSIS simple_parser_init() Loading @@ -104,7 +104,7 @@ static int simple_parser_init(MYSQL_FTPARSER_PARAM *param) /* Terminate the parser at ... [WHEN] Terminate the parser at the end of the query SYNOPSIS simple_parser_deinit() Loading Loading @@ -164,7 +164,7 @@ static void add_word(MYSQL_FTPARSER_PARAM *param, char *word, size_t len) and passes every word to the MySQL full-text indexing engine. */ int simple_parser_parse(MYSQL_FTPARSER_PARAM *param) static int simple_parser_parse(MYSQL_FTPARSER_PARAM *param) { char *end, *start, *docend= param->doc + param->length; Loading Loading @@ -205,7 +205,7 @@ static struct st_mysql_ftparser simple_parser_descriptor= Plugin status variables for SHOW STATUS */ struct st_mysql_show_var simple_status[]= static struct st_mysql_show_var simple_status[]= { {"static", (char *)"just a static text", SHOW_CHAR}, {"called", (char *)&number_of_calls, SHOW_LONG}, Loading @@ -229,3 +229,4 @@ mysql_declare_plugin simple_status /* status variables */ } mysql_declare_plugin_end; Loading
configure.in +1 −1 Original line number Diff line number Diff line Loading @@ -7,7 +7,7 @@ AC_INIT(sql/mysqld.cc) AC_CANONICAL_SYSTEM # The Docs Makefile.am parses this line! # remember to also change ndb version below and update version.c in ndb AM_INIT_AUTOMAKE(mysql, 5.1.9-beta) AM_INIT_AUTOMAKE(mysql, 5.1.10-beta) AM_CONFIG_HEADER(config.h) PROTOCOL_VERSION=10 Loading
plugin/fulltext/configure.in +1 −0 Original line number Diff line number Diff line Loading @@ -2,6 +2,7 @@ AC_INIT(plugin_example, 0.1) AM_INIT_AUTOMAKE AC_DISABLE_STATIC AC_PROG_LIBTOOL AC_CONFIG_FILES([Makefile]) AC_OUTPUT Loading
plugin/fulltext/plugin_example.c +6 −5 Original line number Diff line number Diff line Loading @@ -17,7 +17,7 @@ #include <ctype.h> #include <mysql/plugin.h> long number_of_calls= 0; /* for SHOW STATUS, see below */ static long number_of_calls= 0; /* for SHOW STATUS, see below */ /* Simple full-text parser plugin that acts as a replacement for the Loading Loading @@ -84,7 +84,7 @@ static int simple_parser_plugin_deinit(void) /* Initialize the parser at ... [WHEN] Initialize the parser on the first use in the query SYNOPSIS simple_parser_init() Loading @@ -104,7 +104,7 @@ static int simple_parser_init(MYSQL_FTPARSER_PARAM *param) /* Terminate the parser at ... [WHEN] Terminate the parser at the end of the query SYNOPSIS simple_parser_deinit() Loading Loading @@ -164,7 +164,7 @@ static void add_word(MYSQL_FTPARSER_PARAM *param, char *word, size_t len) and passes every word to the MySQL full-text indexing engine. */ int simple_parser_parse(MYSQL_FTPARSER_PARAM *param) static int simple_parser_parse(MYSQL_FTPARSER_PARAM *param) { char *end, *start, *docend= param->doc + param->length; Loading Loading @@ -205,7 +205,7 @@ static struct st_mysql_ftparser simple_parser_descriptor= Plugin status variables for SHOW STATUS */ struct st_mysql_show_var simple_status[]= static struct st_mysql_show_var simple_status[]= { {"static", (char *)"just a static text", SHOW_CHAR}, {"called", (char *)&number_of_calls, SHOW_LONG}, Loading @@ -229,3 +229,4 @@ mysql_declare_plugin simple_status /* status variables */ } mysql_declare_plugin_end;