#define HAM_ACCESS_DENIED (-25) |
AES encryption key is wrong
Definition at line 265 of file hamsterdb.h.
#define HAM_ALREADY_INITIALIZED (-27) |
Object was already initialized
Definition at line 267 of file hamsterdb.h.
#define HAM_BLOB_NOT_FOUND (-16) |
Database record not found
Definition at line 247 of file hamsterdb.h.
#define HAM_CACHE_FULL (-19) |
Database cache is full
Definition at line 253 of file hamsterdb.h.
#define HAM_CURSOR_IS_NIL (-100) |
Cursor does not point to a valid item
Definition at line 275 of file hamsterdb.h.
#define HAM_CURSOR_STILL_OPEN (-29) |
Cursor must be closed prior to Transaction abort/commit
Definition at line 271 of file hamsterdb.h.
#define HAM_DATABASE_ALREADY_EXISTS (-201) |
Database name already exists
Definition at line 279 of file hamsterdb.h.
#define HAM_DATABASE_ALREADY_OPEN (-202) |
Database already open, or: Database handle is already initialized
Definition at line 281 of file hamsterdb.h.
#define HAM_DATABASE_NOT_FOUND (-200) |
Database not found
Definition at line 277 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 245 of file hamsterdb.h.
#define HAM_DUPLICATE_KEY (-12) |
Tried to insert a key which already exists
Definition at line 239 of file hamsterdb.h.
#define HAM_ENVIRONMENT_ALREADY_OPEN (-203) |
Environment already open, or: Environment handle is already initialized
Definition at line 283 of file hamsterdb.h.
#define HAM_FILE_NOT_FOUND (-21) |
File not found
Definition at line 257 of file hamsterdb.h.
#define HAM_FILTER_NOT_FOUND (-30) |
Record filter or file filter not found
Definition at line 273 of file hamsterdb.h.
#define HAM_INTEGRITY_VIOLATED (-13) |
Internal Database integrity violated
Definition at line 241 of file hamsterdb.h.
#define HAM_INTERNAL_ERROR (-14) |
Internal hamsterdb error
Definition at line 243 of file hamsterdb.h.
#define HAM_INV_FILE_HEADER ( -9) |
Invalid file header
Definition at line 233 of file hamsterdb.h.
#define HAM_INV_FILE_VERSION (-10) |
Invalid file version
Definition at line 235 of file hamsterdb.h.
#define HAM_INV_KEYSIZE ( -3) |
Invalid key size
Definition at line 223 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 225 of file hamsterdb.h.
#define HAM_INV_PARAMETER ( -8) |
Invalid function parameter
Definition at line 231 of file hamsterdb.h.
#define HAM_IO_ERROR (-18) |
Generic file I/O error
Definition at line 251 of file hamsterdb.h.
#define HAM_KEY_NOT_FOUND (-11) |
Key was not found
Definition at line 237 of file hamsterdb.h.
#define HAM_LIMITS_REACHED (-24) |
Database limits reached
Definition at line 263 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 285 of file hamsterdb.h.
#define HAM_NEED_RECOVERY (-28) |
Database needs recovery
Definition at line 269 of file hamsterdb.h.
#define HAM_NOT_IMPLEMENTED (-20) |
Function is not yet implemented
Definition at line 255 of file hamsterdb.h.
#define HAM_NOT_INITIALIZED ( -7) |
Object not initialized
Definition at line 229 of file hamsterdb.h.
Referenced by ham::db::get_error().
#define HAM_NOT_READY (-23) |
Object was not initialized correctly
Definition at line 261 of file hamsterdb.h.
#define HAM_OUT_OF_MEMORY ( -6) |
Memory allocation failed - out of memory
Definition at line 227 of file hamsterdb.h.
#define HAM_PREFIX_REQUEST_FULLKEY (-17) |
Prefix comparison function needs more data
Definition at line 249 of file hamsterdb.h.
#define HAM_SUCCESS ( 0) |
Operation completed successfully
Definition at line 221 of file hamsterdb.h.
#define HAM_WOULD_BLOCK (-22) |
Operation would block
Definition at line 259 of file hamsterdb.h.