int INativeLibraryFacade.mdb_stat(IntPtr txn, uint dbi, out MDBStat stat)
 {
 return FallbackLibraryFacade.mdb_stat(txn, dbi, out stat);
 }
 int INativeLibraryFacade.mdb_env_stat (IntPtr env, out MDBStat stat)
 {
     return FallbackLibraryFacade.mdb_env_stat(env, out stat);
 }
 private static extern int mdb_stat(IntPtr txn, uint dbi, out MDBStat stat);
 private static extern int mdb_env_stat(IntPtr env, out MDBStat stat);
 int INativeLibraryFacade.mdb_stat(IntPtr txn, uint dbi, out MDBStat stat)
 {
 return Native64BitLibraryFacade.mdb_stat(txn, dbi, out stat);
 }
 int INativeLibraryFacade.mdb_env_stat (IntPtr env, out MDBStat stat)
 {
     return Native64BitLibraryFacade.mdb_env_stat(env, out stat);
 }
 public static extern int mdb_stat(IntPtr txn, uint dbi, out MDBStat stat);
Example #8
0
 public static MDBResultCode mdb_stat(IntPtr txn, uint dbi, out MDBStat stat)
 {
     return(LmdbMethods.mdb_stat(txn, dbi, out stat));
 }
Example #9
0
 public static int mdb_stat(IntPtr txn, uint dbi, out MDBStat stat)
 {
     return check(LmdbMethods.mdb_stat(txn, dbi, out stat));
 }
Example #10
0
 public static int mdb_env_stat(IntPtr env, out MDBStat stat)
 {
     return check(LmdbMethods.mdb_env_stat(env, out stat));
 }
Example #11
0
 public static extern MDBResultCode mdb_env_stat(IntPtr env, out MDBStat stat);
Example #12
0
 public static extern MDBResultCode mdb_stat(IntPtr txn, uint dbi, out MDBStat stat);
        public long GetEntriesCount(LightningDatabase db)
        {
            var stat = new MDBStat();
            NativeMethods.Execute(lib => lib.mdb_stat(_handle, db._handle, out stat));

            return stat.ms_entries.ToInt64();
        }
Example #14
0
 public static int mdb_stat(IntPtr txn, uint dbi, out MDBStat stat)
 {
     return(check(LmdbMethods.mdb_stat(txn, dbi, out stat)));
 }
Example #15
0
 public static extern int mdb_env_stat(IntPtr env, out MDBStat stat);
Example #16
0
 public static int mdb_env_stat(IntPtr env, out MDBStat stat)
 {
     return(check(LmdbMethods.mdb_env_stat(env, out stat)));
 }
Example #17
0
 public static MDBResultCode mdb_env_stat(IntPtr env, out MDBStat stat)
 {
     return(LmdbMethods.mdb_env_stat(env, out stat));
 }