From aa31075db890e53bc6cec08d99ba4fb250fcab12 Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Thu, 21 Jun 2012 13:18:18 +0800 Subject: refine asserts in large tables --- src/include/novel_types.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/include/novel_types.h') diff --git a/src/include/novel_types.h b/src/include/novel_types.h index 014c11a..706afd4 100644 --- a/src/include/novel_types.h +++ b/src/include/novel_types.h @@ -78,6 +78,7 @@ enum ErrorResult{ ERROR_OK = 0, /* operate ok */ ERROR_INSERT_ITEM_EXISTS, /* item already exists */ ERROR_REMOVE_ITEM_DONOT_EXISTS, /* item don't exists */ + ERROR_PHRASE_TOO_LONG, /* the phrase is too long */ ERROR_NO_SUB_PHRASE_INDEX, /* sub phrase index is not loaded */ ERROR_NO_ITEM, /* item has a null slot */ ERROR_OUT_OF_RANGE, /* beyond the end of the sub phrase index */ -- cgit