Ejemplo n.º 1
0
            public u16 idx;        /* Insert this cell before idx-th non-overflow cell */
            public _OvflCell Copy()
            {
                _OvflCell cp = new _OvflCell();

                if (pCell != null)
                {
                    cp.pCell = new byte[pCell.Length];
                    Buffer.BlockCopy(pCell, 0, cp.pCell, 0, pCell.Length);
                }
                cp.idx = idx;
                return(cp);
            }
Ejemplo n.º 2
0
            public ushort idx;   /* Insert this cell before idx-th non-overflow cell */

            public _OvflCell Copy()
            {
                var cp = new _OvflCell();

                if (pCell != null)
                {
                    cp.pCell = sqlite3Malloc(pCell.Length);
                    Buffer.BlockCopy(pCell, 0, cp.pCell, 0, pCell.Length);
                }

                cp.idx = idx;
                return(cp);
            }
Ejemplo n.º 3
0
 public u16 idx;            /* Insert this cell before idx-th non-overflow cell */
 public _OvflCell Copy()
 {
   _OvflCell cp = new _OvflCell();
   if ( pCell != null )
   {
     cp.pCell = sqlite3Malloc(pCell.Length);
     Buffer.BlockCopy( pCell, 0, cp.pCell, 0, pCell.Length );
   }
   cp.idx = idx;
   return cp;
 }
Ejemplo n.º 4
0
            public byte[] pCell; // Pointers to the body of the overflow cell

            #endregion Fields

            #region Methods

            public _OvflCell Copy()
            {
                var cp = new _OvflCell();
                if (pCell != null)
                {
                    cp.pCell = new byte[pCell.Length];
                    Buffer.BlockCopy(pCell, 0, cp.pCell, 0, pCell.Length);
                }
                cp.idx = idx;
                return cp;
            }