[Groonga-mysql-commit] mroonga/mroonga [master] fix wrong type.

Back to archive index

null+****@clear***** null+****@clear*****
2011年 7月 29日 (金) 01:33:27 JST


Kouhei Sutou	2011-07-28 16:33:27 +0000 (Thu, 28 Jul 2011)

  New Revision: 9003b150cb9f3e9adb0e841ff5b91a29dbbc3bf2

  Log:
    fix wrong type.

  Modified files:
    ha_mroonga.cc

  Modified: ha_mroonga.cc (+4 -4)
===================================================================
--- ha_mroonga.cc    2011-07-28 16:17:54 +0000 (5a6c945)
+++ ha_mroonga.cc    2011-07-28 16:33:27 +0000 (81695c8)
@@ -5284,14 +5284,14 @@ double ha_mroonga::storage_read_time(uint index, uint ranges, ha_rows rows)
 double ha_mroonga::read_time(uint index, uint ranges, ha_rows rows)
 {
   MRN_DBUG_ENTER_METHOD();
-  int error;
+  double time;
   if (share->wrapper_mode)
   {
-    error = wrapper_read_time(index, ranges, rows);
+    time = wrapper_read_time(index, ranges, rows);
   } else {
-    error = storage_read_time(index, ranges, rows);
+    time = storage_read_time(index, ranges, rows);
   }
-  DBUG_RETURN(error);
+  DBUG_RETURN(time);
 }
 
 const key_map *ha_mroonga::wrapper_keys_to_use_for_scanning()




Groonga-mysql-commit メーリングリストの案内
Back to archive index