lmdb_master_sys

Function mdb_dbi_flags

Source
pub unsafe extern "C" fn mdb_dbi_flags(
    txn: *mut MDB_txn,
    dbi: MDB_dbi,
    flags: *mut c_uint,
) -> c_int
Expand description

Retrieve the DB flags for a database handle.

§Arguments

  • txn (direction in) - A transaction handle returned by #mdb_txn_begin()
  • dbi (direction in) - A database handle returned by #mdb_dbi_open()
  • flags (direction out) - Address where the flags will be returned.

§Returns

A non-zero error value on failure and 0 on success.