Below is the list of changes that have just been committed into a local
5.1 repository of serg. When serg does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html
ChangeSet
1.2305 06/04/07 22:36:04 serg@stripped +2 -0
plugin/fulltext/configure.in
no sense in building static library version of a plugin
plugin/fulltext/plugin_example.c
comments clarified. everything local to a plugin was declared static
plugin/fulltext/plugin_example.c
1.8 06/04/07 22:35:48 serg@stripped +6 -5
comments clarified. everything local to a plugin was declared static.
plugin/fulltext/configure.in
1.2 06/04/07 22:35:48 serg@stripped +1 -0
no sense in building static library version of a plugin
# This is a BitKeeper patch. What follows are the unified diffs for the
# set of deltas contained in the patch. The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User: serg
# Host: serg.mylan
# Root: /usr/home/serg/Abk/mysql-5.1
--- 1.1/plugin/fulltext/configure.in Thu Apr 6 16:07:35 2006
+++ 1.2/plugin/fulltext/configure.in Fri Apr 7 22:35:48 2006
@@ -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
--- 1.7/plugin/fulltext/plugin_example.c Tue Feb 14 10:51:20 2006
+++ 1.8/plugin/fulltext/plugin_example.c Fri Apr 7 22:35:48 2006
@@ -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
@@ -84,7 +84,7 @@ static int simple_parser_plugin_deinit(v
/*
- Initialize the parser at ... [WHEN]
+ Initialize the parser on the first use in the query
SYNOPSIS
simple_parser_init()
@@ -104,7 +104,7 @@ static int simple_parser_init(MYSQL_FTPA
/*
- Terminate the parser at ... [WHEN]
+ Terminate the parser at the end of the query
SYNOPSIS
simple_parser_deinit()
@@ -164,7 +164,7 @@ static void add_word(MYSQL_FTPARSER_PARA
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;
@@ -205,7 +205,7 @@ static struct st_mysql_ftparser simple_p
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},
@@ -229,3 +229,4 @@ mysql_declare_plugin
simple_status /* status variables */
}
mysql_declare_plugin_end;
+
| Thread |
|---|
| • bk commit into 5.1 tree (serg:1.2305) | Sergei Golubchik | 7 Apr |