Fix duplicate error codes

add-journal
Yury Kurlykov 2019-12-16 12:03:46 +10:00
parent 1b1c1299cf
commit d9c1af04f7
Signed by: t1meshift
GPG Key ID: B133F3167ABF94D8
1 changed files with 3 additions and 3 deletions

View File

@ -61,15 +61,15 @@
/**
* @brief An attempt to read/write 0 bytes has occurred.
*/
#define YDB_ERR_ZERO_SIZE_RW (-11)
#define YDB_ERR_ZERO_SIZE_RW (-12)
/**
* @brief No more pages left in the file.
*/
#define YDB_ERR_NO_MORE_PAGES (-12)
#define YDB_ERR_NO_MORE_PAGES (-13)
/**
* @brief The addresses of pages are the same.
*/
#define YDB_ERR_SAME_PAGE_ADDRESS (-13)
#define YDB_ERR_SAME_PAGE_ADDRESS (-14)
/**
* @brief An unknown error has occurred.
*/