diff options
author | drh <drh@noemail.net> | 2003-01-12 18:02:16 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2003-01-12 18:02:16 +0000 |
commit | ed6c8671b342e9b3793e2603e7f098ba4fc092a4 (patch) | |
tree | 1243d500342286b978543d20e5c88264cedfa2e5 /src/main.c | |
parent | 49f0936ec79dcbdbd80134151658615726643fa1 (diff) | |
download | sqlite-ed6c8671b342e9b3793e2603e7f098ba4fc092a4.tar.gz sqlite-ed6c8671b342e9b3793e2603e7f098ba4fc092a4.zip |
Initial check-in of the code for the new sqlite_set_authorizer() API function.
The code is mostly untested at this point. (CVS 827)
FossilOrigin-Name: 52d5007f64d0af5286b2a0e1f0b9e53c86bece3f
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c index b8be0dc5b..2c602103a 100644 --- a/src/main.c +++ b/src/main.c @@ -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.105 2002/12/02 04:25:21 drh Exp $ +** $Id: main.c,v 1.106 2003/01/12 18:02:18 drh Exp $ */ #include "sqliteInt.h" #include "os.h" @@ -689,6 +689,7 @@ const char *sqlite_error_string(int rc){ case SQLITE_MISMATCH: z = "datatype mismatch"; break; 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; default: z = "unknown error"; break; } return z; |