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

BLOB: InputStream.skip is now more efficient in embedded mode.

上级 46228515
...@@ -111,7 +111,7 @@ public class TestLob extends TestBase { ...@@ -111,7 +111,7 @@ public class TestLob extends TestBase {
prep.setInt(1, i); prep.setInt(1, i);
random.setSeed(i); random.setSeed(i);
random.nextBytes(buff); random.nextBytes(buff);
prep.setBinaryStream(2, new ByteArrayInputStream(buff)); prep.setBinaryStream(2, new ByteArrayInputStream(buff), -1);
prep.execute(); prep.execute();
} }
if (upgraded) { if (upgraded) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论