added casting of int in key_bytes_to_int
@@ -368,8 +368,8 @@ split(
i--;
record_offset -= linear_hash->record_total_size;
record_loc -= linear_hash->record_total_size;
-
}
+
record_loc += linear_hash->record_total_size;
record_offset += linear_hash->record_total_size;
}
@@ -428,6 +428,7 @@ split(
record_offset -= linear_hash->record_total_size;
record_loc -= linear_hash->record_total_size;
}
+
record_loc += linear_hash->record_total_size;
record_offset += linear_hash->record_total_size;
}
@@ -1348,7 +1349,7 @@ key_bytes_to_int(
return key_bytes_as_int;
*/
- return *key;
+ return (int) *key;
}
int
