From: paul Date: December 12 2005 11:51pm Subject: svn commit - mysqldoc@docsrva: r547 - in trunk: . refman-5.1 refman-common List-Archive: http://lists.mysql.com/commits/94 Message-Id: <200512122351.jBCNpuRM029321@docsrva.mysql.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Author: paul Date: 2005-12-13 00:51:55 +0100 (Tue, 13 Dec 2005) New Revision: 547 Log: r4730@frost: paul | 2005-12-12 17:50:42 -0600 Some plugin/UDF remarks. Modified: trunk/ trunk/refman-5.1/extending-mysql.xml trunk/refman-5.1/installing.xml trunk/refman-5.1/introduction.xml trunk/refman-common/news-5.1.xml Property changes on: trunk ___________________________________________________________________ Name: svk:merge - b5ec3a16-e900-0410-9ad2-d183a3acac99:/mysqldoc-local/mysqldoc/trunk:4727 bf112a9c-6c03-0410-a055-ad865cd57414:/mysqldoc-local/mysqldoc/trunk:1609 + b5ec3a16-e900-0410-9ad2-d183a3acac99:/mysqldoc-local/mysqldoc/trunk:4730 bf112a9c-6c03-0410-a055-ad865cd57414:/mysqldoc-local/mysqldoc/trunk:1609 Modified: trunk/refman-5.1/extending-mysql.xml =================================================================== --- trunk/refman-5.1/extending-mysql.xml 2005-12-12 23:51:41 UTC (rev 546) +++ trunk/refman-5.1/extending-mysql.xml 2005-12-12 23:51:55 UTC (rev 547) @@ -489,22 +489,28 @@ - Also to mention: Note the API in the 5.1 upgrading section. Point - out that if you're upgrading, you must upgrade the grant tables by - running mysql_fix_privilege_tables to make sure the mysql.plugin - table exists. Describe the interface functions. Add change note - for I.P./U.P. in 5.1.3 changelog. + Also to mention: Describe the interface functions. - MySQL 5.1 provides a plugin interface that can be used to add new - functions to the server. This interface is the successor to the - older user-defined function (UDF) interface. It is intended that - the UDF interface will be phased out. + MySQL 5.1 and up provides a plugin interface that can be used to + add new functions to the server. This interface is the successor + to the older user-defined function (UDF) interface. (Eventually, + the older interface will be phased out and replaced by a plugin + interface for UDFs.) + + The plugin interface requires the plugin table + in the mysql database. This table is created as + part of the MySQL installation process. If you are upgrading from + an older version to MySQL 5.1, you should run the + mysql_fix_privilege_tables command to create + this table. See . + +
&title-install-plugin; @@ -934,8 +940,12 @@ shared_library_name is the basename of the shared object file that contains the code that implements - the function. The file must be located in a directory that is - searched by your system's dynamic linker. + the function. The file must be located in the plugin directory. + This directory is given by the value of the + plugin_dir system variable. + (Note: This a change in MySQL + 5.1. For earlier versions of MySQL, the file can be located in + any directory that is searched by your system's dynamic linker.) Modified: trunk/refman-5.1/installing.xml =================================================================== --- trunk/refman-5.1/installing.xml 2005-12-12 23:51:41 UTC (rev 546) +++ trunk/refman-5.1/installing.xml 2005-12-12 23:51:55 UTC (rev 547) @@ -12171,6 +12171,31 @@ + Incompatible change: MySQL + ¤t_series; implements support for a plugin API that + allows the loading and unloading of components at runtime, + without restarting the server. . The + plugin API requires the mysql.plugin + table. When upgrading from an older version of MySQL, you + should run the mysql_fix_privilege_tables + command to create this table. See + . + + + + Plugins are installed in the directory named by the + plugin_dir system variable. This variable + also controls the location from which the server loads + user-defined functions (UDFs), which is a change from + earlier versions of MySQL. That is, all UDF library files + now must be installed in the plugin directory. When + upgrading from an older version of MySQL, you must migrate + your UDF files to the plugin directory. + + + + + The table_cache system variable was renamed to table_open_cache. Any scripts that refer to table_cache should be Modified: trunk/refman-5.1/introduction.xml =================================================================== --- trunk/refman-5.1/introduction.xml 2005-12-12 23:51:41 UTC (rev 546) +++ trunk/refman-5.1/introduction.xml 2005-12-12 23:51:55 UTC (rev 547) @@ -416,7 +416,7 @@ Plugin API: MySQL 5.1 will add support for a very flexible plugin API that will allow the loading and unloading of various components at runtime, - without restarting the server. While the work on this are + without restarting the server. While the work on this is not finished yet, pluggable full-text parsers are a first step in this direction. This allows users to implement their own input filter on the Modified: trunk/refman-common/news-5.1.xml =================================================================== --- trunk/refman-common/news-5.1.xml 2005-12-12 23:51:41 UTC (rev 546) +++ trunk/refman-common/news-5.1.xml 2005-12-12 23:51:55 UTC (rev 547) @@ -20,10 +20,18 @@ The following changelog shows what has been done in the 5.1 tree: - - ADD AN ITEMIZED LIST WHEN WE HAVE SOME ITEMS THAT GO HERE - + + + + MySQL 5.1 implements support for a plugin API that allows the + loading and unloading of components at runtime, without + restarting the server. . + + + + + For a full list of changes, please refer to the changelog sections for each individual 5.1.x release. @@ -258,7 +266,7 @@ Plugin API: MySQL 5.1 will add support for a very flexible plugin API that will allow the loading and unloading of various components at runtime, - without restarting the server. While the work on this are not + without restarting the server. While the work on this is not finished yet, pluggable full-text parsers are a first step in this direction. This allows users to implement their own input filter on the indexed text, enabling @@ -268,6 +276,26 @@ hands it over to the builtin MySQL full-text search. (Author: Sergey Vojtovich) + + + The plugin API requires the mysql.plugin + table. When upgrading from an older version of MySQL, you + should run the mysql_fix_privilege_tables + command to create this table. See + . + + + + Incompatible change: Plugins + are installed in the directory named by the + plugin_dir system variable. This variable + also controls the location from which the server loads + user-defined functions (UDFs), which is a change from earlier + versions of MySQL. That is, all UDF library files now must be + installed in the plugin directory. When upgrading from an + older version of MySQL, you must migrate your UDF files to the + plugin directory. +