Navigation Menu

Skip to content

Commit

Permalink
added 2ind like implementation for count(*).
Browse files Browse the repository at this point in the history
  • Loading branch information
Tetsuro IKEDA committed Jun 29, 2010
1 parent a9077fe commit 0c967d0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ha_mroonga.cc
Expand Up @@ -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>
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 0c967d0

Please sign in to comment.