Beispiel #1
0
 protected CursorTestsBase()
 {
     _allocator = new LeakDetectorWrapperAllocator(new HGlobalAllocator());
     _root      = BTreeImpl12.CreateEmptyRoot(_allocator);
     _cursor    = _root !.CreateCursor();
 }
 public CursorTestsBase()
 {
     _allocator = new LeakDetectorWrapperAllocator(new HGlobalAllocator());
     _root      = Is12 ? BTreeImpl12.CreateEmptyRoot(_allocator) : null /*ARTImplV.CreateEmptyRoot(_allocator)*/;
     _cursor    = _root.CreateCursor();
 }