[Groonga-mysql-commit] mroonga/mroonga at 068cadd [master] Reduce scope

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Jul 30 11:58:08 JST 2018


Kouhei Sutou	2018-07-30 11:58:08 +0900 (Mon, 30 Jul 2018)

  New Revision: 068caddd60cc9b9d8cbf84c544276f0fb2af3143
  https://github.com/mroonga/mroonga/commit/068caddd60cc9b9d8cbf84c544276f0fb2af3143

  Message:
    Reduce scope

  Modified files:
    ha_mroonga.cpp

  Modified: ha_mroonga.cpp (+1 -1)
===================================================================
--- ha_mroonga.cpp    2018-07-30 11:45:54 +0900 (9504f49c)
+++ ha_mroonga.cpp    2018-07-30 11:58:08 +0900 (ed3e2feb)
@@ -7308,7 +7308,6 @@ int ha_mroonga::storage_update_row(const uchar *old_data,
     }
   }
 
-  KEY *pkey_info = NULL;
   storage_store_fields_for_prep_update(old_data, new_data, record_id);
   {
     mrn::Lock lock(&(share->record_mutex), have_unique_index());
@@ -7323,6 +7322,7 @@ int ha_mroonga::storage_update_row(const uchar *old_data,
     }
   }
 
+  KEY *pkey_info = NULL;
   if (table->s->primary_key != MAX_INDEXES) {
     pkey_info = &(table->key_info[table->s->primary_key]);
   }
-------------- next part --------------
HTML����������������������������...
URL: https://lists.osdn.me/mailman/archives/groonga-mysql-commit/attachments/20180730/789f6a75/attachment-0001.htm 



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