@@ -312,51 +312,67 @@ enum fpta_error {
312312 FPTA_OK = FPTA_SUCCESS,
313313 FPTA_ERRROR_BASE = 4242 ,
314314
315- FPTA_EOOPS
316- /* Internal unexpected Oops */ ,
317- FPTA_SCHEMA_CORRUPTED
318- /* Schema is invalid or corrupted (internal error) */ ,
319- FPTA_ETYPE
320- /* Type mismatch (given value vs column/field or index) */ ,
321- FPTA_DATALEN_MISMATCH
322- /* Data length mismatch (given value vs data type) */ ,
323- FPTA_KEY_MISMATCH
324- /* Key mismatch while updating row via cursor */ ,
325- FPTA_COLUMN_MISSING
326- /* Required column missing */ ,
327- FPTA_INDEX_CORRUPTED
328- /* Index is inconsistent or corrupted (internal error) */ ,
329- FPTA_NO_INDEX
330- /* No (such) index for given column */ ,
331- FPTA_SCHEMA_CHANGED
332- /* Schema changed (transaction should be restared) */ ,
333- FPTA_ECURSOR
334- /* Cursor is not positioned */ ,
335- FPTA_TOOMANY
336- /* Too many tables, columns or indexes (one of fpta's limits reached) */ ,
337- FPTA_WANNA_DIE
338- /* Failure while transaction rollback */ ,
339- FPTA_TXN_CANCELLED
340- /* Transaction already cancelled */ ,
341- FPTA_SIMILAR_INDEX
342- /* Adding index which is similar to one of the existing */ ,
343- FPTA_TARDY_DBI
344- /* Another thread still use handle(s) that should be reopened. */ ,
345- FPTA_CLUMSY_INDEX
346- /* Adding index which is too clumsy */ ,
347-
348- FPTA_FORMAT_MISMATCH
349- /* Database format mismatch the version of libfpta */ ,
350-
351- FPTA_APP_MISMATCH
352- /* Applicaton version mismatch the database content */ ,
315+ /* Internal unexpected Oops */
316+ FPTA_EOOPS = 4243 ,
317+
318+ /* Schema is invalid or corrupted (internal error) */
319+ FPTA_SCHEMA_CORRUPTED = 4244 ,
320+
321+ /* Type mismatch (given value vs column/field or index) */
322+ FPTA_ETYPE = 4245 ,
323+
324+ /* Data length mismatch (given value vs data type) */
325+ FPTA_DATALEN_MISMATCH = 4246 ,
326+
327+ /* Key mismatch while updating row via cursor */
328+ FPTA_KEY_MISMATCH = 4247 ,
329+
330+ /* Required column missing */
331+ FPTA_COLUMN_MISSING = 4248 ,
332+
333+ /* Index is inconsistent or corrupted (internal error) */
334+ FPTA_INDEX_CORRUPTED = 4249 ,
335+
336+ /* No (such) index for given column */
337+ FPTA_NO_INDEX = 4250 ,
338+
339+ /* Schema changed (transaction should be restared) */
340+ FPTA_SCHEMA_CHANGED = 4251 ,
341+
342+ /* Cursor is not positioned */
343+ FPTA_ECURSOR = 4252 ,
344+
345+ /* Too many tables, columns or indexes (one of fpta's limits reached) */
346+ FPTA_TOOMANY = 4253 ,
347+
348+ /* Failure while transaction rollback */
349+ FPTA_WANNA_DIE = 4254 ,
350+
351+ /* Transaction already cancelled */
352+ FPTA_TXN_CANCELLED = 4255 ,
353+
354+ /* Adding index which is similar to one of the existing */
355+ FPTA_SIMILAR_INDEX = 4256 ,
356+
357+ /* Another thread still use handle(s) that should be reopened. */
358+ FPTA_TARDY_DBI = 4257 ,
359+
360+ /* Adding index which is too clumsy */
361+ FPTA_CLUMSY_INDEX = 4258 ,
362+
363+ /* Database format mismatch the version of libfpta */
364+ FPTA_FORMAT_MISMATCH = 4259 ,
365+
366+ /* Applicaton version mismatch the database content */
367+ FPTA_APP_MISMATCH = 4260 ,
353368
354369 FPTA_ERRROR_LAST = FPTA_APP_MISMATCH,
355370
356- FPTA_NODATA = -1 /* No data or EOF was reached */ ,
357- FPTA_DEADBEEF = INT32_C (0xDeadBeef ) /* Pseudo error for results by refs,
358- mean `no value` returned */
359- ,
371+ /* No data or EOF was reached */
372+ FPTA_NODATA = -1 ,
373+
374+ /* Pseudo error for results by refs, mean `no value` returned */
375+ FPTA_DEADBEEF = INT32_C (0xDeadBeef ),
360376
361377 /* *************************************** Native (system) error codes ***/
362378
0 commit comments