summaryrefslogtreecommitdiffstats
path: root/test/src/java/com
diff options
context:
space:
mode:
authorJames Ahlborn <jtahlborn@yahoo.com>2008-03-18 03:14:04 +0000
committerJames Ahlborn <jtahlborn@yahoo.com>2008-03-18 03:14:04 +0000
commit774f1c4cfeec607a8152f122f4186f4a21228e69 (patch)
tree25648281cd5e59984cf471a7f4c0c2d30b3e525f /test/src/java/com
parent3d7b5f9a2a0e42d0e1a0179233dde8f7fe81c401 (diff)
downloadjackcess-774f1c4cfeec607a8152f122f4186f4a21228e69.tar.gz
jackcess-774f1c4cfeec607a8152f122f4186f4a21228e69.zip
completely fix problems with sporadic usage map corruption; add some soft buffer caching in various places
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@281 f203690c-595d-4dc9-a70b-905162fa7fd2
Diffstat (limited to 'test/src/java/com')
-rw-r--r--test/src/java/com/healthmarketscience/jackcess/TableTest.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/src/java/com/healthmarketscience/jackcess/TableTest.java b/test/src/java/com/healthmarketscience/jackcess/TableTest.java
index 84e8669..85b6bf7 100644
--- a/test/src/java/com/healthmarketscience/jackcess/TableTest.java
+++ b/test/src/java/com/healthmarketscience/jackcess/TableTest.java
@@ -66,7 +66,8 @@ public class TableTest extends TestCase {
row[0] = new Short((short) 9);
row[1] = "Tim";
row[2] = "McCune";
- ByteBuffer buffer = table.createRow(row, format.MAX_ROW_SIZE);
+ ByteBuffer buffer = table.createRow(row, format.MAX_ROW_SIZE,
+ pageChannel.createPageBuffer());
assertEquals((short) colCount, buffer.getShort());
assertEquals((short) 9, buffer.getShort());
assertEquals((byte) 'T', buffer.get());