Exemplo n.º 1
0
        private byte *AddSeparatorToParentPage(long pageRefNumber, MemorySlice separatorKey, out Page parentOfPageRef)
        {
            var parent = new ParentPageAction(_parentPage, _page, _tree, _cursor, _tx);

            var pos = parent.AddSeparator(separatorKey, pageRefNumber);

            parentOfPageRef = parent.ParentOfAddedPageRef;

            return(pos);
        }
Exemplo n.º 2
0
        private void AddSeparatorToParentPage(Page childPage, Page parentPage, long pageNumber, MemorySlice seperatorKey, int separatorKeyPosition)
        {
            var parent = new ParentPageAction(parentPage, childPage, _tree, _cursor, _tx);

            parent.AddSeparator(seperatorKey, pageNumber, separatorKeyPosition);
        }
Exemplo n.º 3
0
        private void AddSeparatorToParentPage(Page childPage, Page parentPage, long pageNumber, MemorySlice seperatorKey, int separatorKeyPosition)
        {
            var parent = new ParentPageAction(parentPage, childPage, _tree, _cursor, _tx);

            parent.AddSeparator(seperatorKey, pageNumber, separatorKeyPosition);
        }
Exemplo n.º 4
0
        private byte* AddSeparatorToParentPage(long pageRefNumber, MemorySlice separatorKey, out Page parentOfPageRef)
        {
            var parent = new ParentPageAction(_parentPage, _page, _tree, _cursor, _tx);

            var pos = parent.AddSeparator(separatorKey, pageRefNumber);

            parentOfPageRef = parent.ParentOfAddedPageRef;

            return pos;
        }