[Groonga-mysql-commit] mroonga/mroonga at 4638aa2 [master] mysql57: support multiple column key and exact match case

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Mar 26 00:15:31 JST 2015


Kouhei Sutou	2015-03-26 00:15:31 +0900 (Thu, 26 Mar 2015)

  New Revision: 4638aa211728cec59c87c1596fcd1c3834925417
  https://github.com/mroonga/mroonga/commit/4638aa211728cec59c87c1596fcd1c3834925417

  Message:
    mysql57: support multiple column key and exact match case

  Modified files:
    ha_mroonga.cpp

  Modified: ha_mroonga.cpp (+4 -0)
===================================================================
--- ha_mroonga.cpp    2015-03-25 23:43:08 +0900 (383de80)
+++ ha_mroonga.cpp    2015-03-26 00:15:31 +0900 (c657e5d)
@@ -7013,6 +7013,10 @@ int ha_mroonga::storage_index_read_map(uchar *buf, const uchar *key,
         storage_encode_multiple_column_key(&key_info,
                                            key, key_length,
                                            key_min, &size_min);
+        if (find_flag == HA_READ_KEY_EXACT) {
+          key_max = key_min;
+          size_max = size_min;
+        }
       }
     } else {
       flags |= GRN_CURSOR_PREFIX;
-------------- next part --------------
HTML����������������������������...
Download 



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