[Java] Fixed a compile error caused in some Java version.

This commit is contained in:
Yueh-Hsuan Chiang 2014-04-24 16:17:00 -07:00
parent 3e0b93b5da
commit e537a840c2

View File

@ -1120,7 +1120,7 @@ public class DbBenchmark {
block_size(defaultOptions_.blockSize(),
"Number of bytes in a block.") {
@Override public Object parseValue(String value) {
return Integer.parseInt(value);
return Long.parseLong(value);
}
},
compressed_cache_size(-1,