예제 #1
0
        public Func<object, PgHdr, int> xStress; // Call to try make a page clean

        #endregion Fields

        #region Methods

        public void Clear()
        {
            pDirty = null;
            pDirtyTail = null;
            pSynced = null;
            nRef = 0;
        }
예제 #2
0
파일: PgHdr.cs 프로젝트: smorey2/feaserver
        public void Clear()
        {
            sqlite3_free(ref this.pData);
            this.pData  = null;
            this.pExtra = null;
            this.pDirty = null;
            this.pgno   = 0;
            this.pPager = null;
#if DEBUG
            this.pageHash = 0;
#endif
            this.flags          = 0;
            this.nRef           = 0;
            this.CacheAllocated = false;
            this.pCache         = null;
            this.pDirtyNext     = null;
            this.pDirtyPrev     = null;
            this.pPgHdr1        = null;
        }
예제 #3
0
 public void Clear()
 {
     sqlite3_free(ref this.pData);
     this.pData = null;
     this.pExtra = null;
     this.pDirty = null;
     this.pgno = 0;
     this.pPager = null;
     #if DEBUG
     this.pageHash = 0;
     #endif
     this.flags = 0;
     this.nRef = 0;
     this.CacheAllocated = false;
     this.pCache = null;
     this.pDirtyNext = null;
     this.pDirtyPrev = null;
     this.pPgHdr1 = null;
 }