Navigation Menu

Skip to content

Commit

Permalink
add system variable "mroonga_index_repository_per_table".
Browse files Browse the repository at this point in the history
  • Loading branch information
Tetsuro IKEDA committed Aug 25, 2009
1 parent f105d70 commit 56f3abb
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
1 change: 0 additions & 1 deletion driver.h
Expand Up @@ -40,7 +40,6 @@ typedef struct _mrn_table
uint pkey_field;
} mrn_table;


typedef struct _mrn_column_info
{
const char *name;
Expand Down
10 changes: 10 additions & 0 deletions ha_groonga.cc
Expand Up @@ -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},
Expand Down Expand Up @@ -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
};

Expand Down

0 comments on commit 56f3abb

Please sign in to comment.