Kouhei Sutou
null+****@clear*****
Thu Oct 4 10:27:23 JST 2012
Kouhei Sutou 2011-07-29 01:33:27 +0900 (Fri, 29 Jul 2011) New Revision: 9003b150cb9f3e9adb0e841ff5b91a29dbbc3bf2 https://github.com/mroonga/mroonga/commit/9003b150cb9f3e9adb0e841ff5b91a29dbbc3bf2 Log: fix wrong type. Modified files: ha_mroonga.cc Modified: ha_mroonga.cc (+4 -4) =================================================================== --- ha_mroonga.cc 2011-07-29 01:17:54 +0900 (5a6c945) +++ ha_mroonga.cc 2011-07-29 01:33:27 +0900 (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() -------------- next part -------------- HTML����������������������������...Download