svnno****@sourc*****
svnno****@sourc*****
2007年 11月 14日 (水) 13:59:02 JST
Revision: 43 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=tritonn&view=rev&rev=43 Author: mir Date: 2007-11-14 13:59:02 +0900 (Wed, 14 Nov 2007) Log Message: ----------- changed sen_log level for some mass logging functions. Modified Paths: -------------- mysql-5.0.45-tritonn-1.1.0/myisam/ft_boolean_search.c mysql-5.0.45-tritonn-1.1.0/myisam/ft_nlq_search.c Modified: mysql-5.0.45-tritonn-1.1.0/myisam/ft_boolean_search.c =================================================================== --- mysql-5.0.45-tritonn-1.1.0/myisam/ft_boolean_search.c 2007-11-14 02:27:32 UTC (rev 42) +++ mysql-5.0.45-tritonn-1.1.0/myisam/ft_boolean_search.c 2007-11-14 04:59:02 UTC (rev 43) @@ -613,7 +613,7 @@ info->lastpos=pos; if (!(my_thread_var->sen_flags & (SENNA_USE_2IND | SENNA_IF_READ_RECORD | SENNA_FILESORT))) { - SEN_LOG(sen_log_debug, "ft_boolean_read_next: 2ind return 0"); + SEN_LOG(sen_log_dump, "ft_boolean_read_next: 2ind return 0"); return 0; } if (!(*info->read_record)(info,info->lastpos,record)) { @@ -707,7 +707,7 @@ if (!ftb->sir) { return 0.0; } if (docid == HA_OFFSET_ERROR) return -2.0; - SEN_LOG(sen_log_debug, "ft_boolean_find_relevance => sen_records_find: records=%p, key=%p", + SEN_LOG(sen_log_dump, "ft_boolean_find_relevance => sen_records_find: records=%p, key=%p", ftb->sir, &docid); return 1.0 * sen_records_find(ftb->sir, &docid); } @@ -822,7 +822,7 @@ if ((ftb->keynr != NO_SUCH_KEY) && ftb->info->s->keyinfo[ftb->keynr].senna) { if (!ftb->sir) { return 0.0; } - SEN_LOG(sen_log_debug, "ft_boolean_get_relevance => sen_records_curr_score: r=%p", ftb->sir); + SEN_LOG(sen_log_dump, "ft_boolean_get_relevance => sen_records_curr_score: r=%p", ftb->sir); return 1.0 * sen_records_curr_score(ftb->sir); } #endif /* ENABLE_SENNA */ Modified: mysql-5.0.45-tritonn-1.1.0/myisam/ft_nlq_search.c =================================================================== --- mysql-5.0.45-tritonn-1.1.0/myisam/ft_nlq_search.c 2007-11-14 02:27:32 UTC (rev 42) +++ mysql-5.0.45-tritonn-1.1.0/myisam/ft_nlq_search.c 2007-11-14 04:59:02 UTC (rev 43) @@ -319,13 +319,13 @@ { my_off_t pos; info->update&= (HA_STATE_CHANGED | HA_STATE_ROW_CHANGED); - SEN_LOG(sen_log_debug, "ft_nlq_read_next => sen_records_next in while loop"); + SEN_LOG(sen_log_dump, "ft_nlq_read_next => sen_records_next in while loop"); while (sen_records_next(handler->sir, &pos, sizeof(my_off_t), NULL)) { info->lastpos=pos; if (!(my_thread_var->sen_flags & (SENNA_USE_2IND | SENNA_IF_READ_RECORD | SENNA_FILESORT))) { - SEN_LOG(sen_log_debug, "ft_nlq_read_next => 2ind return 0"); + SEN_LOG(sen_log_dump, "ft_nlq_read_next => 2ind return 0"); return 0; } if (!(*info->read_record)(info,info->lastpos,record)) @@ -372,7 +372,7 @@ #ifdef ENABLE_SENNA if (handler->sir) { - SEN_LOG(sen_log_debug, "ft_nlq_find_relevance => sen_records_find: records=%p, key=%p", + SEN_LOG(sen_log_dump, "ft_nlq_find_relevance => sen_records_find: records=%p, key=%p", handler->sir, &docid); return 1.0 * sen_records_find(handler->sir, &docid); } @@ -418,7 +418,7 @@ } return 0.0; } - SEN_LOG(sen_log_debug, "ft_nlq_get_relevance => sen_records_curr_score: r=%p", + SEN_LOG(sen_log_dump, "ft_nlq_get_relevance => sen_records_curr_score: r=%p", handler->sir); return 1.0 * sen_records_curr_score(handler->sir); #else /* ENABLE_SENNA */