[Groonga-mysql-commit] mroonga/mroonga [master] add pk bitmap for rnd search

Back to archive index

null+****@clear***** null+****@clear*****
2011年 6月 18日 (土) 20:54:25 JST


Kentoku	2011-06-18 11:54:25 +0000 (Sat, 18 Jun 2011)

  New Revision: f79fb19b4a070b3822b7beec65095e15c90813dc

  Log:
    add pk bitmap for rnd search

  Modified files:
    ha_mroonga.cc

  Modified: ha_mroonga.cc (+2 -0)
===================================================================
--- ha_mroonga.cc    2011-06-18 11:51:28 +0000 (ad1635b)
+++ ha_mroonga.cc    2011-06-18 11:54:25 +0000 (fc961f4)
@@ -2364,6 +2364,8 @@ int ha_mroonga::wrapper_rnd_next(uchar *buf)
   MRN_DBUG_ENTER_METHOD();
   MRN_SET_WRAP_SHARE_KEY(share, table->s);
   MRN_SET_WRAP_TABLE_KEY(this, table);
+  if (fulltext_searching)
+    set_pk_bitmap();
   error = wrap_handler->rnd_next(buf);
   MRN_SET_BASE_SHARE_KEY(share, table->s);
   MRN_SET_BASE_TABLE_KEY(this, table);




Groonga-mysql-commit メーリングリストの案内
Back to archive index