From 3908ed241bdec6126ff79f0e1ecf95001adc631c Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Mon, 2 Jun 2008 10:12:47 +0200 Subject: [PATCH] Add errlist. Argh, I forgot to check in an important file. Again. --- errlist | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 errlist diff --git a/errlist b/errlist new file mode 100644 index 0000000..fb24427 --- /dev/null +++ b/errlist @@ -0,0 +1,38 @@ +BAD_DB_DIR "invalid database directory" +NO_COLUMN_DESC "missing column description" +BAD_NAME "invalid name for a column/table" +BAD_STORAGE_TYPE "invalid storage type" +BAD_STORAGE_FLAGS "invalid storage flags" +NO_COLUMN_NAME "missing column name" +NO_COLUMNS "at least one column required" +BAD_COLUMN_NAME "invalid name for a table column" +NO_UNIQUE_RBTREE_COLUMN "need at least one mapped column with OSL_UNIQE and OSL_RBTREE" +NO_RBTREE_COL "at least one column needs an rbtree" +DUPLICATE_COL_NAME "column name given twice" +BAD_STORAGE_SIZE "invalid storage size" +NO_COMPARE_FUNC "missing compare function" +BAD_DATA_SIZE "wrong data size for fixed-size column" +NOT_MAPPED "file not mapped" +ALREADY_MAPPED "file already mapped" +BAD_SIZE "invalid size specified" +TRUNC "failed to truncate file" +BAD_TABLE "table not open" +BAD_TABLE_DESC "invalid table description" +RB_KEY_EXISTS "key already exists in rbtree" +RB_KEY_NOT_FOUND "key not found in rbtree" +BAD_ROW_NUM "invalid row number" +INDEX_CORRUPTION "index corruption detected" +INVALID_OBJECT "reference to invalid object" +STAT "can not stat file" +WRITE "write error" +LSEEK "lseek error" +BUSY "table is busy" +SHORT_TABLE "table too short" +NO_MAGIC "missing table header magic" +VERSION_MISMATCH "table version not supported" +BAD_COLUMN_NUM "invalid column number" +BAD_TABLE_FLAGS "invalid flags in table description" +BAD_ROW "invalid row" +EMPTY "file empty" +MMAP "mmap error" +LOOP "loop terminated" -- 2.39.2