hamsterdb Embedded Database 1.1.15
|
#define HAM_ACCESS_DENIED (-25) |
AES encryption key is wrong
Definition at line 361 of file hamsterdb.h.
#define HAM_ALREADY_INITIALIZED (-27) |
Object was already initialized
Definition at line 363 of file hamsterdb.h.
#define HAM_BLOB_NOT_FOUND (-16) |
Database record not found
Definition at line 343 of file hamsterdb.h.
#define HAM_CACHE_FULL (-19) |
Database cache is full
Definition at line 349 of file hamsterdb.h.
#define HAM_CURSOR_IS_NIL (-100) |
Cursor does not point to a valid item
Definition at line 371 of file hamsterdb.h.
#define HAM_CURSOR_STILL_OPEN (-29) |
Cursor must be closed prior to Transaction abort/commit
Definition at line 367 of file hamsterdb.h.
#define HAM_DATABASE_ALREADY_EXISTS (-201) |
Database name already exists
Definition at line 375 of file hamsterdb.h.
#define HAM_DATABASE_ALREADY_OPEN (-202) |
Database already open, or: Database handle is already initialized
Definition at line 377 of file hamsterdb.h.
#define HAM_DATABASE_NOT_FOUND (-200) |
Database not found
Definition at line 373 of file hamsterdb.h.
#define HAM_DB_READ_ONLY (-15) |
Tried to modify the Database, but the file was opened as read-only
Definition at line 341 of file hamsterdb.h.
#define HAM_DUPLICATE_KEY (-12) |
Tried to insert a key which already exists
Definition at line 335 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 379 of file hamsterdb.h.
#define HAM_FILE_NOT_FOUND (-21) |
File not found
Definition at line 353 of file hamsterdb.h.
#define HAM_FILTER_NOT_FOUND (-30) |
Record filter or file filter not found
Definition at line 369 of file hamsterdb.h.
#define HAM_INTEGRITY_VIOLATED (-13) |
Internal Database integrity violated
Definition at line 337 of file hamsterdb.h.
#define HAM_INTERNAL_ERROR (-14) |
Internal hamsterdb error
Definition at line 339 of file hamsterdb.h.
#define HAM_INV_FILE_HEADER ( -9) |
Invalid file header
Definition at line 329 of file hamsterdb.h.
#define HAM_INV_FILE_VERSION (-10) |
Invalid file version
Definition at line 331 of file hamsterdb.h.
#define HAM_INV_KEYSIZE ( -3) |
Invalid key size
Definition at line 319 of file hamsterdb.h.
Referenced by ham::key::key(), and ham::key::set_size().
#define HAM_INV_PAGESIZE ( -4) |
Invalid page size (must be 1024 or a multiple of 2048)
Definition at line 321 of file hamsterdb.h.
#define HAM_INV_PARAMETER ( -8) |
Invalid function parameter
Definition at line 327 of file hamsterdb.h.
#define HAM_IO_ERROR (-18) |
Generic file I/O error
Definition at line 347 of file hamsterdb.h.
#define HAM_KEY_NOT_FOUND (-11) |
Key was not found
Definition at line 333 of file hamsterdb.h.
Referenced by copy_db(), main(), and run_demo().
#define HAM_LIMITS_REACHED (-24) |
Database limits reached
Definition at line 359 of file hamsterdb.h.
Referenced by ham::env::get_database_names().
#define HAM_LOG_INV_FILE_HEADER (-300) |
Invalid log file header
Definition at line 381 of file hamsterdb.h.
#define HAM_NEED_RECOVERY (-28) |
Database needs recovery
Definition at line 365 of file hamsterdb.h.
#define HAM_NETWORK_ERROR (-400) |
Remote I/O error/Network error
Definition at line 383 of file hamsterdb.h.
#define HAM_NOT_IMPLEMENTED (-20) |
Function is not yet implemented
Definition at line 351 of file hamsterdb.h.
#define HAM_NOT_INITIALIZED ( -7) |
Object not initialized
Definition at line 325 of file hamsterdb.h.
Referenced by ham::db::get_error().
#define HAM_NOT_READY (-23) |
Object was not initialized correctly
Definition at line 357 of file hamsterdb.h.
#define HAM_OUT_OF_MEMORY ( -6) |
Memory allocation failed - out of memory
Definition at line 323 of file hamsterdb.h.
#define HAM_PREFIX_REQUEST_FULLKEY (-17) |
Prefix comparison function needs more data
Definition at line 345 of file hamsterdb.h.
#define HAM_SUCCESS ( 0) |
#define HAM_WOULD_BLOCK (-22) |
Operation would block
Definition at line 355 of file hamsterdb.h.