提交 3f1260f0 authored 作者: Thomas Mueller's avatar Thomas Mueller

documentation fix.

......@@ -29,7 +29,7 @@ import org.h2.util.MemoryUtils;
* <li>count of all children (-1 if not known): int</li>
* <li>entry count: short</li>
* <li>rightmost child page id: int</li>
* <li>entries (key: varLong, child page id: int)</li>
* <li>entries (child page id: int, key: varLong)</li>
* </ul>
* The key is the largest key of the respective child, meaning key[0] is the
* largest key of child[0].
......
......@@ -277,7 +277,7 @@ public class FileStore {
*/
public void readFully(byte[] b, int off, int len) throws SQLException {
if (SysProperties.CHECK && (len < 0 || len % Constants.FILE_BLOCK_SIZE != 0)) {
Message.throwInternalError("unaligned write " + name + " len " + len);
Message.throwInternalError("unaligned read " + name + " len " + len);
}
checkPowerOff();
try {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论