null+****@clear*****
null+****@clear*****
2012年 1月 25日 (水) 21:35:48 JST
Kouhei Sutou 2012-01-25 21:35:48 +0900 (Wed, 25 Jan 2012)
New Revision: b1c9355e2e4f48ae9fa96d60d28a08f583129f09
Log:
[doc] ha_groonga -> ha_mroonga.
Modified files:
doc/source/install.rst
doc/source/userguide.rst
doc/source/userguide/storage.rst
Modified: doc/source/install.rst (+3 -3)
===================================================================
--- doc/source/install.rst 2012-01-25 21:35:13 +0900 (bc49bed)
+++ doc/source/install.rst 2012-01-25 21:35:48 +0900 (7503552)
@@ -215,13 +215,13 @@ Then invoke "make". ::
Install mroonga
^^^^^^^^^^^^^^^
-By invoking "make install", ha_groonga.so will be installed in MySQL's plugin directory. ::
+By invoking "make install", ha_mroonga.so will be installed in MySQL's plugin directory. ::
make install
Then start mysqld, connect to it by mysql client, and install it by "INSTALL PLUGIN" command. ::
- mysql> INSTALL PLUGIN groonga SONAME 'ha_groonga.so';
+ mysql> INSTALL PLUGIN groonga SONAME 'ha_mroonga.so';
If "groonga" is displayed in "SHOW ENGINES" command result like below, mroonga is well installed. ::
@@ -244,4 +244,4 @@ To get the record ID assigned by groonga in INSERT, install last_insert_grn_id f
Invoke CREATE FUNCTION like the following. ::
- mysql> CREATE FUNCTION last_insert_grn_id RETURNS INTEGER soname 'ha_groonga.so';
+ mysql> CREATE FUNCTION last_insert_grn_id RETURNS INTEGER soname 'ha_mroonga.so';
Modified: doc/source/userguide.rst (+1 -1)
===================================================================
--- doc/source/userguide.rst 2012-01-25 21:35:13 +0900 (e0f0dbd)
+++ doc/source/userguide.rst 2012-01-25 21:35:48 +0900 (150c960)
@@ -33,7 +33,7 @@ If you see "groonga" storage engine like above, the installation is well done.
If not installed, invoke INSTALL PLUGIN command like below. ::
- mysql> INSTALL PLUGIN groonga SONAME 'ha_groonga.so';
+ mysql> INSTALL PLUGIN groonga SONAME 'ha_mroonga.so';
Running modes
-------------
Modified: doc/source/userguide/storage.rst (+1 -1)
===================================================================
--- doc/source/userguide/storage.rst 2012-01-25 21:35:13 +0900 (b0bf895)
+++ doc/source/userguide/storage.rst 2012-01-25 21:35:48 +0900 (855e83e)
@@ -273,7 +273,7 @@ By using last_insert_grn_id function, you can also get the record ID that is ass
last_insert_grn_id function is included in mroonga as a User-Defined Function (UDF), but if you have not yet register it in MySQL by CREATE FUNCTION, you need to invoke the following SQL for defining a function. ::
- mysql> CREATE FUNCTION last_insert_grn_id RETURNS INTEGER SONAME 'ha_groonga.so';
+ mysql> CREATE FUNCTION last_insert_grn_id RETURNS INTEGER SONAME 'ha_mroonga.so';
As you can see in the example above, you can get the record ID by _id column or last_insert_grn_id function. It will be useful to use this value in the ensuing SQL queries like UPDATE. ::