hamsterdb Embedded Database
2.1.7
|
#define HAM_ALREADY_INITIALIZED (-27) |
Object was already initialized
Definition at line 356 of file hamsterdb.h.
#define HAM_BLOB_NOT_FOUND (-16) |
Database record not found
Definition at line 342 of file hamsterdb.h.
#define HAM_CURSOR_IS_NIL (-100) |
Cursor does not point to a valid item
Definition at line 370 of file hamsterdb.h.
#define HAM_CURSOR_STILL_OPEN (-29) |
Cursor must be closed prior to Transaction abort/commit
Definition at line 360 of file hamsterdb.h.
#define HAM_DATABASE_ALREADY_EXISTS (-201) |
Database name already exists
Definition at line 374 of file hamsterdb.h.
#define HAM_DATABASE_ALREADY_OPEN (-202) |
Database already open, or: Database handle is already initialized
Definition at line 376 of file hamsterdb.h.
#define HAM_DATABASE_NOT_FOUND (-200) |
Database not found
Definition at line 372 of file hamsterdb.h.
#define HAM_DUPLICATE_KEY (-12) |
Tried to insert a key which already exists
Definition at line 334 of file hamsterdb.h.
Referenced by main().
#define HAM_ENVIRONMENT_ALREADY_OPEN (-203) |
Environment already open, or: Environment handle is already initialized
Definition at line 378 of file hamsterdb.h.
#define HAM_FILE_NOT_FOUND (-21) |
File not found
Definition at line 348 of file hamsterdb.h.
#define HAM_FILTER_NOT_FOUND (-30) |
Record filter or file filter not found
Definition at line 362 of file hamsterdb.h.
#define HAM_INTEGRITY_VIOLATED (-13) |
Internal Database integrity violated
Definition at line 336 of file hamsterdb.h.
#define HAM_INTERNAL_ERROR (-14) |
Internal hamsterdb error
Definition at line 338 of file hamsterdb.h.
#define HAM_INV_FILE_HEADER ( -9) |
Invalid file header
Definition at line 328 of file hamsterdb.h.
#define HAM_INV_FILE_VERSION (-10) |
Invalid file version
Definition at line 330 of file hamsterdb.h.
#define HAM_INV_KEY_SIZE ( -3) |
Invalid key size
Definition at line 316 of file hamsterdb.h.
#define HAM_INV_KEYSIZE HAM_INV_KEY_SIZE |
Definition at line 318 of file hamsterdb.h.
Referenced by hamsterdb::key::key().
#define HAM_INV_PAGE_SIZE ( -4) |
Invalid page size (must be 1024 or a multiple of 2048)
Definition at line 320 of file hamsterdb.h.
#define HAM_INV_PAGESIZE HAM_INV_PAGE_SIZE |
Definition at line 322 of file hamsterdb.h.
#define HAM_INV_PARAMETER ( -8) |
Invalid function parameter
Definition at line 326 of file hamsterdb.h.
#define HAM_INV_RECORD_SIZE ( -2) |
Invalid record size
Definition at line 314 of file hamsterdb.h.
#define HAM_IO_ERROR (-18) |
Generic file I/O error
Definition at line 344 of file hamsterdb.h.
#define HAM_KEY_ERASED_IN_TXN (-32) |
Definition at line 366 of file hamsterdb.h.
#define HAM_KEY_NOT_FOUND (-11) |
Key was not found
Definition at line 332 of file hamsterdb.h.
Referenced by copy_db(), main(), and run_demo().
#define HAM_LIMITS_REACHED (-24) |
Database limits reached
Definition at line 354 of file hamsterdb.h.
Referenced by hamsterdb::env::get_database_names().
#define HAM_LOG_INV_FILE_HEADER (-300) |
Invalid log file header
Definition at line 380 of file hamsterdb.h.
#define HAM_NEED_RECOVERY (-28) |
Database needs recovery
Definition at line 358 of file hamsterdb.h.
#define HAM_NETWORK_ERROR (-400) |
Remote I/O error/Network error
Definition at line 382 of file hamsterdb.h.
#define HAM_NOT_IMPLEMENTED (-20) |
Function is not yet implemented
Definition at line 346 of file hamsterdb.h.
#define HAM_NOT_READY (-23) |
Object was not initialized correctly
Definition at line 352 of file hamsterdb.h.
#define HAM_OUT_OF_MEMORY ( -6) |
Memory allocation failed - out of memory
Definition at line 324 of file hamsterdb.h.
#define HAM_SUCCESS ( 0) |
#define HAM_TXN_CONFLICT (-31) |
Operation conflicts with another Transaction
Definition at line 364 of file hamsterdb.h.
#define HAM_TXN_STILL_OPEN (-33) |
Database cannot be closed because it is modified in a Transaction
Definition at line 368 of file hamsterdb.h.
#define HAM_WOULD_BLOCK (-22) |
Operation would block
Definition at line 350 of file hamsterdb.h.
#define HAM_WRITE_PROTECTED (-15) |
Tried to modify the Database, but the file was opened as read-only
Definition at line 340 of file hamsterdb.h.