NCBI C++ ToolKit
Macros
Return Codes

BerkeleyDB uses -30800 to -30999, we'll go under them. More...

+ Collaboration diagram for Return Codes:

Macros

#define MDB_SUCCESS   0
 Successful result. More...
 
#define MDB_SUCCESS   0
 Successful result. More...
 
#define MDB_KEYEXIST   (-30799)
 key/data pair already exists More...
 
#define MDB_KEYEXIST   (-30799)
 key/data pair already exists More...
 
#define MDB_NOTFOUND   (-30798)
 key/data pair not found (EOF) More...
 
#define MDB_NOTFOUND   (-30798)
 key/data pair not found (EOF) More...
 
#define MDB_PAGE_NOTFOUND   (-30797)
 Requested page not found - this usually indicates corruption. More...
 
#define MDB_PAGE_NOTFOUND   (-30797)
 Requested page not found - this usually indicates corruption. More...
 
#define MDB_CORRUPTED   (-30796)
 Located page was wrong type. More...
 
#define MDB_CORRUPTED   (-30796)
 Located page was wrong type. More...
 
#define MDB_PANIC   (-30795)
 Update of meta page failed or environment had fatal error. More...
 
#define MDB_PANIC   (-30795)
 Update of meta page failed or environment had fatal error. More...
 
#define MDB_VERSION_MISMATCH   (-30794)
 Environment version mismatch. More...
 
#define MDB_VERSION_MISMATCH   (-30794)
 Environment version mismatch. More...
 
#define MDB_INVALID   (-30793)
 File is not a valid LMDB file. More...
 
#define MDB_INVALID   (-30793)
 File is not a valid LMDB file. More...
 
#define MDB_MAP_FULL   (-30792)
 Environment mapsize reached. More...
 
#define MDB_MAP_FULL   (-30792)
 Environment mapsize reached. More...
 
#define MDB_DBS_FULL   (-30791)
 Environment maxdbs reached. More...
 
#define MDB_DBS_FULL   (-30791)
 Environment maxdbs reached. More...
 
#define MDB_READERS_FULL   (-30790)
 Environment maxreaders reached. More...
 
#define MDB_READERS_FULL   (-30790)
 Environment maxreaders reached. More...
 
#define MDB_TLS_FULL   (-30789)
 Too many TLS keys in use - Windows only. More...
 
#define MDB_TLS_FULL   (-30789)
 Too many TLS keys in use - Windows only. More...
 
#define MDB_TXN_FULL   (-30788)
 Txn has too many dirty pages. More...
 
#define MDB_TXN_FULL   (-30788)
 Txn has too many dirty pages. More...
 
#define MDB_CURSOR_FULL   (-30787)
 Cursor stack too deep - internal error. More...
 
#define MDB_CURSOR_FULL   (-30787)
 Cursor stack too deep - internal error. More...
 
#define MDB_PAGE_FULL   (-30786)
 Page has not enough space - internal error. More...
 
#define MDB_PAGE_FULL   (-30786)
 Page has not enough space - internal error. More...
 
#define MDB_MAP_RESIZED   (-30785)
 Database contents grew beyond environment mapsize. More...
 
#define MDB_MAP_RESIZED   (-30785)
 Database contents grew beyond environment mapsize. More...
 
#define MDB_INCOMPATIBLE   (-30784)
 Operation and DB incompatible, or DB type changed. More...
 
#define MDB_INCOMPATIBLE   (-30784)
 Operation and DB incompatible, or DB type changed. More...
 
#define MDB_BAD_RSLOT   (-30783)
 Invalid reuse of reader locktable slot. More...
 
#define MDB_BAD_RSLOT   (-30783)
 Invalid reuse of reader locktable slot. More...
 
#define MDB_BAD_TXN   (-30782)
 Transaction must abort, has a child, or is invalid. More...
 
#define MDB_BAD_TXN   (-30782)
 Transaction must abort, has a child, or is invalid. More...
 
#define MDB_BAD_VALSIZE   (-30781)
 Unsupported size of key/DB name/data, or wrong DUPFIXED size. More...
 
#define MDB_BAD_VALSIZE   (-30781)
 Unsupported size of key/DB name/data, or wrong DUPFIXED size. More...
 
#define MDB_BAD_DBI   (-30780)
 The specified DBI was changed unexpectedly. More...
 
#define MDB_BAD_DBI   (-30780)
 The specified DBI was changed unexpectedly. More...
 
#define MDB_LAST_ERRCODE   MDB_BAD_DBI
 The last defined error code. More...
 
#define MDB_LAST_ERRCODE   MDB_BAD_DBI
 The last defined error code. More...
 

Detailed Description

BerkeleyDB uses -30800 to -30999, we'll go under them.

Macro Definition Documentation

◆ MDB_BAD_DBI [1/2]

#define MDB_BAD_DBI   (-30780)

The specified DBI was changed unexpectedly.

Definition at line 450 of file lmdb.h.

◆ MDB_BAD_DBI [2/2]

#define MDB_BAD_DBI   (-30780)

The specified DBI was changed unexpectedly.

Definition at line 450 of file lmdb.h.

◆ MDB_BAD_RSLOT [1/2]

#define MDB_BAD_RSLOT   (-30783)

Invalid reuse of reader locktable slot.

Definition at line 444 of file lmdb.h.

◆ MDB_BAD_RSLOT [2/2]

#define MDB_BAD_RSLOT   (-30783)

Invalid reuse of reader locktable slot.

Definition at line 444 of file lmdb.h.

◆ MDB_BAD_TXN [1/2]

#define MDB_BAD_TXN   (-30782)

Transaction must abort, has a child, or is invalid.

Definition at line 446 of file lmdb.h.

◆ MDB_BAD_TXN [2/2]

#define MDB_BAD_TXN   (-30782)

Transaction must abort, has a child, or is invalid.

Definition at line 446 of file lmdb.h.

◆ MDB_BAD_VALSIZE [1/2]

#define MDB_BAD_VALSIZE   (-30781)

Unsupported size of key/DB name/data, or wrong DUPFIXED size.

Definition at line 448 of file lmdb.h.

◆ MDB_BAD_VALSIZE [2/2]

#define MDB_BAD_VALSIZE   (-30781)

Unsupported size of key/DB name/data, or wrong DUPFIXED size.

Definition at line 448 of file lmdb.h.

◆ MDB_CORRUPTED [1/2]

#define MDB_CORRUPTED   (-30796)

Located page was wrong type.

Definition at line 411 of file lmdb.h.

◆ MDB_CORRUPTED [2/2]

#define MDB_CORRUPTED   (-30796)

Located page was wrong type.

Definition at line 411 of file lmdb.h.

◆ MDB_CURSOR_FULL [1/2]

#define MDB_CURSOR_FULL   (-30787)

Cursor stack too deep - internal error.

Definition at line 429 of file lmdb.h.

◆ MDB_CURSOR_FULL [2/2]

#define MDB_CURSOR_FULL   (-30787)

Cursor stack too deep - internal error.

Definition at line 429 of file lmdb.h.

◆ MDB_DBS_FULL [1/2]

#define MDB_DBS_FULL   (-30791)

Environment maxdbs reached.

Definition at line 421 of file lmdb.h.

◆ MDB_DBS_FULL [2/2]

#define MDB_DBS_FULL   (-30791)

Environment maxdbs reached.

Definition at line 421 of file lmdb.h.

◆ MDB_INCOMPATIBLE [1/2]

#define MDB_INCOMPATIBLE   (-30784)

Operation and DB incompatible, or DB type changed.

This can mean:

  • The operation expects an MDB_DUPSORT / MDB_DUPFIXED database.
  • Opening a named DB when the unnamed DB has MDB_DUPSORT / MDB_INTEGERKEY.
  • Accessing a data record as a database, or vice versa.
  • The database was dropped and recreated with different flags.

Definition at line 442 of file lmdb.h.

◆ MDB_INCOMPATIBLE [2/2]

#define MDB_INCOMPATIBLE   (-30784)

Operation and DB incompatible, or DB type changed.

This can mean:

  • The operation expects an MDB_DUPSORT / MDB_DUPFIXED database.
  • Opening a named DB when the unnamed DB has MDB_DUPSORT / MDB_INTEGERKEY.
  • Accessing a data record as a database, or vice versa.
  • The database was dropped and recreated with different flags.

Definition at line 442 of file lmdb.h.

◆ MDB_INVALID [1/2]

#define MDB_INVALID   (-30793)

File is not a valid LMDB file.

Definition at line 417 of file lmdb.h.

◆ MDB_INVALID [2/2]

#define MDB_INVALID   (-30793)

File is not a valid LMDB file.

Definition at line 417 of file lmdb.h.

◆ MDB_KEYEXIST [1/2]

#define MDB_KEYEXIST   (-30799)

key/data pair already exists

Definition at line 405 of file lmdb.h.

◆ MDB_KEYEXIST [2/2]

#define MDB_KEYEXIST   (-30799)

key/data pair already exists

Definition at line 405 of file lmdb.h.

◆ MDB_LAST_ERRCODE [1/2]

#define MDB_LAST_ERRCODE   MDB_BAD_DBI

The last defined error code.

Definition at line 452 of file lmdb.h.

◆ MDB_LAST_ERRCODE [2/2]

#define MDB_LAST_ERRCODE   MDB_BAD_DBI

The last defined error code.

Definition at line 452 of file lmdb.h.

◆ MDB_MAP_FULL [1/2]

#define MDB_MAP_FULL   (-30792)

Environment mapsize reached.

Definition at line 419 of file lmdb.h.

◆ MDB_MAP_FULL [2/2]

#define MDB_MAP_FULL   (-30792)

Environment mapsize reached.

Definition at line 419 of file lmdb.h.

◆ MDB_MAP_RESIZED [1/2]

#define MDB_MAP_RESIZED   (-30785)

Database contents grew beyond environment mapsize.

Definition at line 433 of file lmdb.h.

◆ MDB_MAP_RESIZED [2/2]

#define MDB_MAP_RESIZED   (-30785)

Database contents grew beyond environment mapsize.

Definition at line 433 of file lmdb.h.

◆ MDB_NOTFOUND [1/2]

#define MDB_NOTFOUND   (-30798)

key/data pair not found (EOF)

Definition at line 407 of file lmdb.h.

◆ MDB_NOTFOUND [2/2]

#define MDB_NOTFOUND   (-30798)

key/data pair not found (EOF)

Definition at line 407 of file lmdb.h.

◆ MDB_PAGE_FULL [1/2]

#define MDB_PAGE_FULL   (-30786)

Page has not enough space - internal error.

Definition at line 431 of file lmdb.h.

◆ MDB_PAGE_FULL [2/2]

#define MDB_PAGE_FULL   (-30786)

Page has not enough space - internal error.

Definition at line 431 of file lmdb.h.

◆ MDB_PAGE_NOTFOUND [1/2]

#define MDB_PAGE_NOTFOUND   (-30797)

Requested page not found - this usually indicates corruption.

Definition at line 409 of file lmdb.h.

◆ MDB_PAGE_NOTFOUND [2/2]

#define MDB_PAGE_NOTFOUND   (-30797)

Requested page not found - this usually indicates corruption.

Definition at line 409 of file lmdb.h.

◆ MDB_PANIC [1/2]

#define MDB_PANIC   (-30795)

Update of meta page failed or environment had fatal error.

Definition at line 413 of file lmdb.h.

◆ MDB_PANIC [2/2]

#define MDB_PANIC   (-30795)

Update of meta page failed or environment had fatal error.

Definition at line 413 of file lmdb.h.

◆ MDB_READERS_FULL [1/2]

#define MDB_READERS_FULL   (-30790)

Environment maxreaders reached.

Definition at line 423 of file lmdb.h.

◆ MDB_READERS_FULL [2/2]

#define MDB_READERS_FULL   (-30790)

Environment maxreaders reached.

Definition at line 423 of file lmdb.h.

◆ MDB_SUCCESS [1/2]

#define MDB_SUCCESS   0

Successful result.

Definition at line 403 of file lmdb.h.

◆ MDB_SUCCESS [2/2]

#define MDB_SUCCESS   0

Successful result.

Definition at line 403 of file lmdb.h.

◆ MDB_TLS_FULL [1/2]

#define MDB_TLS_FULL   (-30789)

Too many TLS keys in use - Windows only.

Definition at line 425 of file lmdb.h.

◆ MDB_TLS_FULL [2/2]

#define MDB_TLS_FULL   (-30789)

Too many TLS keys in use - Windows only.

Definition at line 425 of file lmdb.h.

◆ MDB_TXN_FULL [1/2]

#define MDB_TXN_FULL   (-30788)

Txn has too many dirty pages.

Definition at line 427 of file lmdb.h.

◆ MDB_TXN_FULL [2/2]

#define MDB_TXN_FULL   (-30788)

Txn has too many dirty pages.

Definition at line 427 of file lmdb.h.

◆ MDB_VERSION_MISMATCH [1/2]

#define MDB_VERSION_MISMATCH   (-30794)

Environment version mismatch.

Definition at line 415 of file lmdb.h.

◆ MDB_VERSION_MISMATCH [2/2]

#define MDB_VERSION_MISMATCH   (-30794)

Environment version mismatch.

Definition at line 415 of file lmdb.h.

Modified on Sat May 18 11:38:20 2024 by modify_doxy.py rev. 669887