private object InternalKey(Transaction trans, int index) { BTreePatch patch = KeyPatch(index); if (patch == null) { return(_keys[index]); } return(patch.Key(trans)); }
public bool IndexIsValid(Transaction trans, int index) { if (!CanWrite()) { return(true); } BTreePatch patch = KeyPatch(index); if (patch == null) { return(true); } return(patch.Key(trans) != No4.Instance); }