Tetsuro IKEDA
null+****@clear*****
Thu Oct 4 10:20:49 JST 2012
Tetsuro IKEDA 2010-06-29 21:33:37 +0900 (Tue, 29 Jun 2010) New Revision: 0c967d0f3b8a7e950e45695cc00555e109dab6c3 https://github.com/mroonga/mroonga/commit/0c967d0f3b8a7e950e45695cc00555e109dab6c3 Log: added 2ind like implementation for count(*). Modified files: ha_mroonga.cc Modified: ha_mroonga.cc (+5 -0) =================================================================== --- ha_mroonga.cc 2010-06-21 20:02:10 +0900 (673702b) +++ ha_mroonga.cc 2010-06-29 21:33:37 +0900 (01c89fd) @@ -6,6 +6,7 @@ #include <mysql_priv.h> #include <mysql/plugin.h> +#include <sql_select.h> #include <pthread.h> #include <sys/types.h> #include <sys/stat.h> @@ -1192,6 +1193,10 @@ int ha_mroonga::ft_read(uchar *buf) DBUG_RETURN(HA_ERR_END_OF_FILE); } + if (table->in_use->lex->select_lex.join->tmp_table_param.sum_func_count > 0) { + DBUG_RETURN(0); + } + grn_table_get_key(ctx, res, rid, &row_id, sizeof(grn_id)); int i; -------------- next part -------------- HTML����������������������������...다운로드