diff options
author | drh <drh@noemail.net> | 2004-09-30 13:43:13 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2004-09-30 13:43:13 +0000 |
commit | c60d04464fe6269a11a5b50ee29629d3faf4b03a (patch) | |
tree | 1582b7d75ebbd8df031381dcf0a846d44c3c3d57 /src/auth.c | |
parent | 44f87bdc564c403faf6e772a1d70b3b6cedcb64e (diff) | |
download | sqlite-c60d04464fe6269a11a5b50ee29629d3faf4b03a.tar.gz sqlite-c60d04464fe6269a11a5b50ee29629d3faf4b03a.zip |
Allow functions to be created when there are outstanding VMs.
(Ticket #926) Fix problems with sqlite3_errcode(). Add tests for
sqlite3_errcode(). (CVS 1989)
FossilOrigin-Name: d0f1dc5898382258b283308c2cce55a8bc378ee4
Diffstat (limited to 'src/auth.c')
-rw-r--r-- | src/auth.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/auth.c b/src/auth.c index 25f8f41d8..17f1df9bb 100644 --- a/src/auth.c +++ b/src/auth.c @@ -14,7 +14,7 @@ ** systems that do not need this facility may omit it by recompiling ** the library with -DSQLITE_OMIT_AUTHORIZATION=1 ** -** $Id: auth.c,v 1.18 2004/09/09 13:55:50 drh Exp $ +** $Id: auth.c,v 1.19 2004/09/30 13:43:13 drh Exp $ */ #include "sqliteInt.h" @@ -87,7 +87,7 @@ static void sqliteAuthBadReturnCode(Parse *pParse, int rc){ sqlite3ErrorMsg(pParse, "illegal return value (%d) from the " "authorization function - should be SQLITE_OK, SQLITE_IGNORE, " "or SQLITE_DENY", rc); - pParse->rc = SQLITE_MISUSE; + pParse->rc = SQLITE_ERROR; } /* |