Example #1
0
        //public static implicit operator bool(PgHdr b) { return (b != null); }

        public void memset()
        {
            //Page = null;
            Data  = null;
            Extra = null;
            Dirty = null;
            Pager = null;
            ID    = 0;
#if CHECK_PAGES
            PageHash = 0;
#endif
            Flags     = 0;
            Refs      = 0;
            Cache     = null;
            DirtyNext = null;
            DirtyPrev = null;
        }
Example #2
0
        public void ClearState()
        {
            this.Data   = null;
            this.Extra  = null;
            this.Dirtys = null;
            this.ID     = 0;
            this.Pager  = null;
#if DEBUG
            this.PageHash = 0;
#endif
            this.Flags          = 0;
            this.Refs           = 0;
            this.CacheAllocated = false;
            this.Cache          = null;
            this.DirtyNext      = null;
            this.DirtyPrev      = null;
            this.PgHdr1         = null;
        }
Example #3
0
 public void ClearState()
 {
     this.Data = null;
     this.Extra = null;
     this.Dirtys = null;
     this.ID = 0;
     this.Pager = null;
     #if DEBUG
     this.PageHash = 0;
     #endif
     this.Flags = 0;
     this.Refs = 0;
     this.CacheAllocated = false;
     this.Cache = null;
     this.DirtyNext = null;
     this.DirtyPrev = null;
     this.PgHdr1 = null;
 }
Example #4
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;
        }
Example #5
0
 //public static implicit operator bool(PgHdr b) { return (b != null); }
 public void memset()
 {
     //Page = null;
     Data = null;
     Extra = null;
     Dirty = null;
     Pager = null;
     ID = 0;
     #if CHECK_PAGES
     PageHash = 0;
     #endif
     Flags = 0;
     Refs = 0;
     Cache = null;
     DirtyNext = null;
     DirtyPrev = null;
 }
Example #6
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;
 }