Commit e379b87e authored by unknown's avatar unknown

merge

parent 568f7cd2
...@@ -3215,7 +3215,7 @@ opt_ts_nodegroup: ...@@ -3215,7 +3215,7 @@ opt_ts_nodegroup:
LEX *lex= Lex; LEX *lex= Lex;
if (lex->alter_tablespace_info->nodegroup_id != UNDEF_NODEGROUP) if (lex->alter_tablespace_info->nodegroup_id != UNDEF_NODEGROUP)
{ {
my_error(ER_TABLESPACE_OPTION_ONLY_ONCE,MYF(0),"NODEGROUP"); my_error(ER_FILEGROUP_OPTION_ONLY_ONCE,MYF(0),"NODEGROUP");
YYABORT; YYABORT;
} }
lex->alter_tablespace_info->nodegroup_id= $3; lex->alter_tablespace_info->nodegroup_id= $3;
...@@ -3227,7 +3227,7 @@ opt_ts_comment: ...@@ -3227,7 +3227,7 @@ opt_ts_comment:
LEX *lex= Lex; LEX *lex= Lex;
if (lex->alter_tablespace_info->ts_comment != NULL) if (lex->alter_tablespace_info->ts_comment != NULL)
{ {
my_error(ER_TABLESPACE_OPTION_ONLY_ONCE,MYF(0),"COMMENT"); my_error(ER_FILEGROUP_OPTION_ONLY_ONCE,MYF(0),"COMMENT");
YYABORT; YYABORT;
} }
lex->alter_tablespace_info->ts_comment= $3.str; lex->alter_tablespace_info->ts_comment= $3.str;
...@@ -3239,7 +3239,7 @@ opt_ts_engine: ...@@ -3239,7 +3239,7 @@ opt_ts_engine:
LEX *lex= Lex; LEX *lex= Lex;
if (lex->alter_tablespace_info->storage_engine != DB_TYPE_UNKNOWN) if (lex->alter_tablespace_info->storage_engine != DB_TYPE_UNKNOWN)
{ {
my_error(ER_TABLESPACE_OPTION_ONLY_ONCE,MYF(0), my_error(ER_FILEGROUP_OPTION_ONLY_ONCE,MYF(0),
"STORAGE ENGINE"); "STORAGE ENGINE");
YYABORT; YYABORT;
} }
...@@ -3262,7 +3262,7 @@ ts_wait: ...@@ -3262,7 +3262,7 @@ ts_wait:
LEX *lex= Lex; LEX *lex= Lex;
if (!(lex->alter_tablespace_info->wait_until_completed)) if (!(lex->alter_tablespace_info->wait_until_completed))
{ {
my_error(ER_TABLESPACE_OPTION_ONLY_ONCE,MYF(0),"NO_WAIT"); my_error(ER_FILEGROUP_OPTION_ONLY_ONCE,MYF(0),"NO_WAIT");
YYABORT; YYABORT;
} }
lex->alter_tablespace_info->wait_until_completed= FALSE; lex->alter_tablespace_info->wait_until_completed= FALSE;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment