예제 #1
0
        internal BTreeStatStruct stat_bt(DB_TXN txn, uint flags)
        {
            int    err = 0;
            IntPtr ptr = stat(txn, flags, ref err);

            DatabaseException.ThrowException(err);
            BTreeStatStruct ret = (BTreeStatStruct)Marshal.PtrToStructure(ptr, typeof(BTreeStatStruct));

            libdb_csharp.__os_ufree(null, ptr);
            return(ret);
        }
예제 #2
0
 internal BTreeStats(Internal.BTreeStatStruct stats)
 {
     st = stats;
 }
예제 #3
0
 internal RecnoStats(Internal.BTreeStatStruct stats)
 {
     st = stats;
 }