[Groonga-mysql-commit] mroonga/mroonga [fix-for-visual-studio] add system variable "mroonga_index_repository_per_table".

Back to archive index

Tetsuro IKEDA null+****@clear*****
Thu Oct 4 10:28:46 JST 2012


Tetsuro IKEDA	2009-08-25 15:01:18 +0900 (Tue, 25 Aug 2009)

  New Revision: 56f3abb71f47a4049e2d2bf79e5abf9a377e0b51
  https://github.com/mroonga/mroonga/commit/56f3abb71f47a4049e2d2bf79e5abf9a377e0b51

  Log:
    add system variable "mroonga_index_repository_per_table".

  Modified files:
    driver.h
    ha_groonga.cc

  Modified: driver.h (+0 -1)
===================================================================
--- driver.h    2009-08-25 11:17:14 +0900 (b1adfdd)
+++ driver.h    2009-08-25 15:01:18 +0900 (3aad725)
@@ -40,7 +40,6 @@ typedef struct _mrn_table
   uint pkey_field;
 } mrn_table;
 
-
 typedef struct _mrn_column_info
 {
   const char *name;

  Modified: ha_groonga.cc (+10 -0)
===================================================================
--- ha_groonga.cc    2009-08-25 11:17:14 +0900 (e3888d3)
+++ ha_groonga.cc    2009-08-25 15:01:18 +0900 (0eb93ec)
@@ -35,6 +35,15 @@ static MYSQL_THDVAR_BOOL(
                          TRUE
                          );
 
+static MYSQL_THDVAR_BOOL(
+                         index_repository_per_table,
+                         PLUGIN_VAR_OPCMDARG | PLUGIN_VAR_THDLOCAL,
+                         "use index repository per table.",
+                         NULL,
+                         NULL,
+                         FALSE
+                         );
+
 MRN_CHARSET_MAP mrn_charset_map[] = {
   {"utf8", GRN_ENC_UTF8},
   {"cp932", GRN_ENC_SJIS},
@@ -95,6 +104,7 @@ struct st_mysql_sys_var  *mrn_system_variables[] =
 {
   MYSQL_SYSVAR(use_column_pruning),
   MYSQL_SYSVAR(use_cond_push),
+  MYSQL_SYSVAR(index_repository_per_table),
   NULL
 };
 
-------------- next part --------------
HTML����������������������������...
다운로드 



More information about the Groonga-mysql-commit mailing list
Back to archive index