45 DB_ALLOCATION_ERROR = -2,
46 DB_STORAGE_ERROR = -3,
47 DB_PARSING_ERROR = -4,
49 DB_RELATIONAL_ERROR = -6,
51 DB_IMPLEMENTATION_ERROR = -8,
54 DB_INCONSISTENCY_ERROR = -11,
55 DB_ARGUMENT_ERROR = -12
58 typedef enum db_result db_result_t;
59 typedef int db_storage_id_t;
61 #define DB_ERROR(result_code) ((result_code) < DB_OK)
62 #define DB_SUCCESS(result_code) !DB_ERROR(result_code)