[Groonga-mysql-commit] mroonga/mroonga [master] Specify GRN_CURSOR_ASCENDING explicitly.

Back to archive index

Kouhei Sutou null+****@clear*****
Fri Oct 5 23:43:01 JST 2012


Kouhei Sutou	2012-10-05 23:43:01 +0900 (Fri, 05 Oct 2012)

  New Revision: 94d0852a55af37d753df3a8cc08598447c21f85b
  https://github.com/mroonga/mroonga/commit/94d0852a55af37d753df3a8cc08598447c21f85b

  Log:
    Specify GRN_CURSOR_ASCENDING explicitly.
    
    It is the default order.

  Modified files:
    ha_mroonga.cpp

  Modified: ha_mroonga.cpp (+1 -1)
===================================================================
--- ha_mroonga.cpp    2012-10-05 23:40:10 +0900 (cd32852)
+++ ha_mroonga.cpp    2012-10-05 23:43:01 +0900 (cc0a36a)
@@ -6305,7 +6305,7 @@ int ha_mroonga::storage_index_read_map(uchar *buf, const uchar *key,
     flags |= GRN_CURSOR_LE | GRN_CURSOR_DESCENDING;
     break;
   case HA_READ_AFTER_KEY:
-    flags |= GRN_CURSOR_GT;
+    flags |= GRN_CURSOR_GT | GRN_CURSOR_ASCENDING;
     break;
   default:
     break;
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-mysql-commit mailing list
Back to archive index