[Groonga-mysql-commit] mroonga/mroonga [master] added description about UDF last_insert_grn_id in install document.

Back to archive index

null+****@clear***** null+****@clear*****
2010年 11月 21日 (日) 09:53:41 JST


Tetsuro IKEDA	2010-11-21 00:53:41 +0000 (Sun, 21 Nov 2010)

  New Revision: ec5775babb5e378f1aaaa71dcf437359747c61e2

  Log:
    added description about UDF last_insert_grn_id in install document.

  Modified files:
    doc/ja/source/install.rst

  Modified: doc/ja/source/install.rst (+9 -1)
===================================================================
--- doc/ja/source/install.rst    2010-11-20 17:24:21 +0000 (64ae07a)
+++ doc/ja/source/install.rst    2010-11-21 00:53:41 +0000 (faa4f83)
@@ -191,7 +191,7 @@ groongaストレージエンジンのインストール
 
  mysql> INSTALL PLUGIN groonga SONAME 'ha_groonga.so';
 
-以下のように"SHOW ENGINES"コマンドで"groonga"が表示されればインストール完了です。 ::
+以下のように"SHOW ENGINES"コマンドで"groonga"が表示されればgroongaストレージエンジンのインストールは完了です。 ::
 
  mysql> SHOW ENGINES;
  +------------+---------+------------------------------------------------------------+--------------+------+------------+
@@ -206,6 +206,14 @@ groongaストレージエンジンのインストール
  +------------+---------+------------------------------------------------------------+--------------+------+------------+
  6 rows in set (0.00 sec)
 
+続いてUDF(ユーザ定義関数)をインストールします。
+
+INSERTを行った際にgroongaにより割当てられるレコードIDを取得するためのLAST_INSERT_GRN_ID関数をインストールします。
+
+以下のようにCREATE FUNCTIONを実行します。 ::
+
+ mysql> CREATE FUNCTION LAST_INSERT_GRN_ID RETURNS INTEGER soname 'ha_groonga.so';
+
 githubからのインストール
 ------------------------
 レポジトリから一式ダウンロードします。 ::




Groonga-mysql-commit メーリングリストの案内
Back to archive index