1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-05 15:55:57 +03:00

Added missing error string to sqlite_error_string(). (CVS 1018)

FossilOrigin-Name: 3afb7b3586be81202c76692afea9d2b7a63b4b93
This commit is contained in:
jplyon
2003-06-12 08:59:00 +00:00
parent 2e0d738b60
commit 892f671cf3
3 changed files with 10 additions and 9 deletions

View File

@@ -14,7 +14,7 @@
** other files are for internal use by SQLite and should not be
** accessed by users of the library.
**
** $Id: main.c,v 1.134 2003/06/04 15:48:33 drh Exp $
** $Id: main.c,v 1.135 2003/06/12 08:59:01 jplyon Exp $
*/
#include "sqliteInt.h"
#include "os.h"
@@ -745,6 +745,7 @@ const char *sqlite_error_string(int rc){
case SQLITE_MISUSE: z = "library routine called out of sequence";break;
case SQLITE_NOLFS: z = "kernel lacks large file support"; break;
case SQLITE_AUTH: z = "authorization denied"; break;
case SQLITE_FORMAT: z = "auxiliary database format error"; break;
default: z = "unknown error"; break;
}
return z;