svnno****@sourc*****
svnno****@sourc*****
2008年 11月 18日 (火) 18:54:29 JST
Revision: 168 http://svn.sourceforge.jp/view?root=tritonn&view=rev&rev=168 Author: mir Date: 2008-11-18 18:54:29 +0900 (Tue, 18 Nov 2008) Log Message: ----------- fixed parser. "USING btree (c1) USING hash" now works same as well as original one. Modified Paths: -------------- tags/tritonn-1.0.11a-mysql-5.0.67/sql/sql_yacc.yy -------------- next part -------------- Modified: tags/tritonn-1.0.11a-mysql-5.0.67/sql/sql_yacc.yy =================================================================== --- tags/tritonn-1.0.11a-mysql-5.0.67/sql/sql_yacc.yy 2008-11-18 05:31:21 UTC (rev 167) +++ tags/tritonn-1.0.11a-mysql-5.0.67/sql/sql_yacc.yy 2008-11-18 09:54:29 UTC (rev 168) @@ -3119,7 +3119,7 @@ { LEX *lex=Lex; #ifdef ENABLE_SENNA - Key *key= new Key($1,$2, $3, 0, lex->col_list, + Key *key= new Key($1, $2, $7 ? $7 : $3, 0, lex->col_list, lex->senna_flags, lex->senna_initial_n_segments); lex->alter_info.key_list.push_back(key); lex->senna_clear();