svnno****@sourc*****
svnno****@sourc*****
2008年 1月 9日 (水) 14:56:10 JST
Revision: 63 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=tritonn&view=rev&rev=63 Author: mir Date: 2008-01-09 14:56:10 +0900 (Wed, 09 Jan 2008) Log Message: ----------- Fixed a 2ind bug in mysql_select(). Modified Paths: -------------- tritonn-1.0.9-mysql-5.0.51/sql/sql_select.cc Modified: tritonn-1.0.9-mysql-5.0.51/sql/sql_select.cc =================================================================== --- tritonn-1.0.9-mysql-5.0.51/sql/sql_select.cc 2008-01-09 05:45:39 UTC (rev 62) +++ tritonn-1.0.9-mysql-5.0.51/sql/sql_select.cc 2008-01-09 05:56:10 UTC (rev 63) @@ -2288,7 +2288,7 @@ } } #ifdef ENABLE_SENNA - my_thread_var->sen_flags = select_lex->ftfunc_list->elements ? SENNA_MATCH : 0; + if (select_lex->ftfunc_list->elements) {my_thread_var->sen_flags |= SENNA_MATCH; } if (join->select_distinct) { my_thread_var->sen_flags |= SENNA_DISTINCT; } #endif /* ENABLE_SENNA */ if ((err= join->optimize()))