[Groonga-mysql-commit] mroonga/mroonga at d18cd68 [master] Fix build error on MariaDB

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Dec 29 21:08:54 JST 2014


Kouhei Sutou	2014-12-29 21:08:54 +0900 (Mon, 29 Dec 2014)

  New Revision: d18cd689f0d86ef2050ada6ccbb2d2d020227261
  https://github.com/mroonga/mroonga/commit/d18cd689f0d86ef2050ada6ccbb2d2d020227261

  Message:
    Fix build error on MariaDB

  Modified files:
    ha_mroonga.cpp

  Modified: ha_mroonga.cpp (+1 -1)
===================================================================
--- ha_mroonga.cpp    2014-12-29 20:26:39 +0900 (c07c1cc)
+++ ha_mroonga.cpp    2014-12-29 21:08:54 +0900 (4c3250e)
@@ -10226,7 +10226,7 @@ void ha_mroonga::storage_store_fields(uchar *buf, grn_id record_id)
   Field *primary_key_field = NULL;
   if (table->s->primary_key != MAX_INDEXES) {
     KEY *key_info = &(table->s->key_info[table->s->primary_key]);
-    if (key_info->key_parts == 1) {
+    if (KEY_N_KEY_PARTS(key_info) == 1) {
       primary_key_field = key_info->key_part[0].field;
     }
   }
-------------- next part --------------
HTML����������������������������...
Télécharger 



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