SQLite Forum

How to distinguish fatal errors
Login
What do you mean? I don't know if it failed because 'temp_store' was not big enough or disk is full or max_page_count limit caused that.

I execute a query, it may fail with one of the scenarios from a, b, or c up above. I need to distinguish between them to continue or abort. 'temp_store' SQLITE_FULL error should be recoverable I think, otherwise, you run a single statement which fails because of not enough space in temp_store, then should application abort?