@Test
public void testRecordCompare() throws SqlJetException {
final SqlJetSchema s = new SqlJetSchema(db, btreeCopy);
btreeCopy.setSchema(s);
final ISqlJetBtreeDataTable d = new SqlJetBtreeDataTable(btreeCopy, REP_CACHE_TABLE, false);
final ISqlJetBtreeRecord r = d.getRecord();
final ISqlJetVdbeMem f = r.getFields().get(0);
final ISqlJetMemoryPointer v = f.valueText(SqlJetEncoding.UTF8);
final String h = SqlJetUtility.toString(v);
final SqlJetBtreeRecord r1 = new SqlJetBtreeRecord(f);
final SqlJetVdbeMem m = new SqlJetVdbeMem();
m.setStr(SqlJetUtility.wrapPtr(SqlJetUtility.getBytes(h)), SqlJetEncoding.UTF8);