提交 074030f8 authored 作者: Thomas Mueller's avatar Thomas Mueller

The experimental LOB storage mechanism now supports all features of the old one.

上级 b21c6503
......@@ -340,6 +340,14 @@ public class LobStorage {
}
}
/**
* Store a block in the LOB storage.
*
* @param lobId the lob id
* @param seq the sequence number
* @param b the data
* @param compressAlgorithm the compression algorithm (may be null)
*/
synchronized void storeBlock(long lobId, int seq, byte[] b, String compressAlgorithm) throws SQLException {
long block;
boolean blockExists = false;
......
......@@ -79,6 +79,7 @@ public class ValueLob2 extends Value {
*
* @param type the type (Value.BLOB or CLOB)
* @param small the byte array
* @param precision the precision
* @return the lob value
*/
public static ValueLob2 createSmallLob(int type, byte[] small, long precision) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论