Go to the documentation of this file. 41 #include "cfs-coffee-arch.h" 49 #ifndef DB_FEATURE_JOIN 50 #define DB_FEATURE_JOIN 1 54 #ifndef DB_FEATURE_REMOVE 55 #define DB_FEATURE_REMOVE 1 59 #ifndef DB_FEATURE_FLOATS 60 #define DB_FEATURE_FLOATS 0 64 #ifndef DB_FEATURE_COFFEE 65 #define DB_FEATURE_COFFEE 1 69 #ifndef DB_FEATURE_INTEGRITY 70 #define DB_FEATURE_INTEGRITY 0 78 #ifndef DB_ERROR_BUF_SIZE 79 #define DB_ERROR_BUF_SIZE 50 83 #ifndef DB_INDEX_POOL_SIZE 84 #define DB_INDEX_POOL_SIZE 3 88 #ifndef DB_RELATION_POOL_SIZE 89 #define DB_RELATION_POOL_SIZE 5 93 #ifndef DB_ATTRIBUTE_POOL_SIZE 94 #define DB_ATTRIBUTE_POOL_SIZE 16 98 #ifndef DB_MAX_ATTRIBUTES_PER_RELATION 99 #define DB_MAX_ATTRIBUTES_PER_RELATION 6 103 #ifndef DB_MAX_ELEMENT_SIZE 104 #define DB_MAX_ELEMENT_SIZE 16 110 #ifndef DB_VM_BYTECODE_SIZE 111 #define DB_VM_BYTECODE_SIZE 256 119 #ifndef AQL_MAX_QUERY_LENGTH 120 #define AQL_MAX_QUERY_LENGTH 128 123 #ifndef AQL_MAX_VALUE_LENGTH 124 #define AQL_MAX_VALUE_LENGTH DB_MAX_ELEMENT_SIZE 128 #ifndef AQL_RELATION_LIMIT 129 #define AQL_RELATION_LIMIT 3 133 #ifndef AQL_ATTRIBUTE_LIMIT 134 #define AQL_ATTRIBUTE_LIMIT 5 146 #ifndef DB_COFFEE_RESERVE_SIZE 147 #define DB_COFFEE_RESERVE_SIZE (COFFEE_SIZE / 8) 154 #if DB_COFFEE_RESERVE_SIZE > (COFFEE_SIZE / 2) 155 #error DB_COFFEE_RESERVE_SIZE is too large for the file system. 160 #ifndef DB_MAX_CHAR_SIZE_PER_ROW 161 #define DB_MAX_CHAR_SIZE_PER_ROW 64 165 #ifndef DB_MAX_FILENAME_LENGTH 166 #define DB_MAX_FILENAME_LENGTH 16 170 #ifndef ATTRIBUTE_NAME_LENGTH 171 #define ATTRIBUTE_NAME_LENGTH 12 175 #ifndef RELATION_NAME_LENGTH 176 #define RELATION_NAME_LENGTH 10 181 #ifndef RESULT_RELATION 182 #define RESULT_RELATION "db-result" 186 #ifndef REMOVE_RELATION 187 #define REMOVE_RELATION "db-remove" 194 #ifndef DB_INDEX_COST 195 #define DB_INDEX_COST 64 199 #ifndef DB_MEMHASH_INDEX_LIMIT 200 #define DB_MEMHASH_INDEX_LIMIT 1 204 #ifndef DB_MEMHASH_TABLE_SIZE 205 #define DB_MEMHASH_TABLE_SIZE 61 209 #ifndef DB_HEAP_INDEX_LIMIT 210 #define DB_HEAP_INDEX_LIMIT 1 214 #ifndef DB_HEAP_CACHE_LIMIT 215 #define DB_HEAP_CACHE_LIMIT 1 224 #ifndef LVM_MAX_NAME_LENGTH 225 #define LVM_MAX_NAME_LENGTH ATTRIBUTE_NAME_LENGTH 230 #ifndef LVM_MAX_VARIABLE_ID 231 #define LVM_MAX_VARIABLE_ID AQL_ATTRIBUTE_LIMIT - 1 235 #ifndef LVM_USE_FLOATS 236 #define LVM_USE_FLOATS DB_FEATURE_FLOATS