SQLite Forum

How to distinguish fatal errors
Login
If you do not know the answer to that question then you are a pretty crap poor programmer.  So if you are executing a direct insert or update and it fails with SQLITE_FULL then the database is full EITHER because the disk is full OR because you as the programmer set an artificial limit.

If you are executing a pure SELECT and you get SQLITE_FULL it likely means the temporary store is full (since you could not possibly be filling up anything else).

So it seems pretty clear that YOU, as the person having design authority for the program which is receiving the error indication, must know exactly what the error is referring to.  

If you don't, then that is your own fault and you should take up knitting rather than computer programming to save the rest of us what will surely be the bug ridden results of your efforts.