logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Author

       Generated automatically by Doxygen for LMDB from the source code.

                                                      LMDB                                              debug(3)

Detailed Description

Macro Definition Documentation

#defineMDB_DEBUG0
       Enable debug output. Needs variable argument macros (a C99 feature). Set this to 1 for copious tracing.
       Set to 2 to add dumps of all IDLs read from and written to the database (used for free space management).

   #defineDPUTS(arg)DPRINTF(('%s',arg))
       Print a debug string. The string is printed literally, with no format processing.

   #defineDDBI(mc)(((mc)->mc_flags&C_SUB)?-(int)(mc)->mc_dbi:(int)(mc)->mc_dbi)
       Debugging output value of a cursor DBI: Negative in a sub-cursor.

Name

       debug - Debug Macros

Synopsis

Macros
       #define MDB_DEBUG   0
       #define DPRINTF(args)   ((void) 0)
       #define DPUTS(arg)   DPRINTF(('%s', arg))
       #define DDBI(mc)    (((mc)->mc_flags & C_SUB) ? -(int)(mc)->mc_dbi : (int)(mc)->mc_dbi)

See Also