Author: shawkins
Date: 2010-05-28 00:39:38 -0400 (Fri, 28 May 2010)
New Revision: 2167
Modified:
trunk/engine/src/test/java/org/teiid/common/buffer/TestTupleBuffer.java
Log:
TEIID-913 ensuring that even if the batch contents are not added that lob references are
still captured
Modified: trunk/engine/src/test/java/org/teiid/common/buffer/TestTupleBuffer.java
===================================================================
--- trunk/engine/src/test/java/org/teiid/common/buffer/TestTupleBuffer.java 2010-05-28
04:34:24 UTC (rev 2166)
+++ trunk/engine/src/test/java/org/teiid/common/buffer/TestTupleBuffer.java 2010-05-28
04:39:38 UTC (rev 2167)
@@ -92,7 +92,7 @@
List<ElementSymbol> schema = Arrays.asList(x);
TupleBuffer tb = new TupleBuffer(new FakeBatchManager(), "x", schema, 32);
//$NON-NLS-1$
ClobType c = new ClobType(new SerialClob(new char[0]));
- TupleBatch batch = new TupleBatch(0, new List[] {Arrays.asList(c)});
+ TupleBatch batch = new TupleBatch(1, new List[] {Arrays.asList(c)});
tb.addTupleBatch(batch, false);
assertNotNull(c.getReferenceStreamId());
}
Show replies by date