[Groonga-mysql-commit] mroonga/mroonga at 23086c4 [master] Reduce scope

Back to archive index

Kouhei Sutou null+****@clear*****
Fri Aug 15 11:44:14 JST 2014


Kouhei Sutou	2014-08-15 11:44:14 +0900 (Fri, 15 Aug 2014)

  New Revision: 23086c40451ba38d29811f252c786028a61927c8
  https://github.com/mroonga/mroonga/commit/23086c40451ba38d29811f252c786028a61927c8

  Message:
    Reduce scope

  Modified files:
    ha_mroonga.cpp

  Modified: ha_mroonga.cpp (+1 -1)
===================================================================
--- ha_mroonga.cpp    2014-08-15 11:26:13 +0900 (4aac12a)
+++ ha_mroonga.cpp    2014-08-15 11:44:14 +0900 (b9c073a)
@@ -5295,7 +5295,6 @@ int ha_mroonga::storage_write_row(uchar *buf)
     }
   }
 
-  st_mrn_slot_data *slot_data;
   if ((error = storage_write_row_unique_indexes(buf)))
   {
     goto err1;
@@ -5409,6 +5408,7 @@ int ha_mroonga::storage_write_row(uchar *buf)
   }
 
   // for UDF last_insert_grn_id()
+  st_mrn_slot_data *slot_data;
   slot_data = mrn_get_slot_data(thd, true);
   if (slot_data == NULL) {
     error = HA_ERR_OUT_OF_MEM;
-------------- next part --------------
HTML����������������������������...
下载 



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