提交 e450ca36 authored 作者: Thomas Mueller's avatar Thomas Mueller

Result sets larger than 2 GB threw an exception "Negative seek offset".

上级 3df9b01c
......@@ -149,7 +149,7 @@ public class UndoLogRecord {
* @param file the file
*/
void seek(FileStore file) throws SQLException {
file.seek(filePos * Constants.FILE_BLOCK_SIZE);
file.seek(((long) filePos) * Constants.FILE_BLOCK_SIZE);
}
/**
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论