aboutsummaryrefslogtreecommitdiff
path: root/src/auth.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2004-06-19 16:06:10 +0000
committerdrh <drh@noemail.net>2004-06-19 16:06:10 +0000
commit124b27e65463e8897de17b067ce4a7b11b5602f5 (patch)
tree3d380d9062765447adf9b7bad7963a16f9823ce2 /src/auth.c
parentf92c7ff74a2fa6c9fb110321430f25e4b3179b23 (diff)
downloadsqlite-124b27e65463e8897de17b067ce4a7b11b5602f5.tar.gz
sqlite-124b27e65463e8897de17b067ce4a7b11b5602f5.zip
Omit the DB_Locked and DB_Cookie flags. Other minor cleanup. (CVS 1642)
FossilOrigin-Name: 01f74b420c3f24918c066172e09cebbb22568faf
Diffstat (limited to 'src/auth.c')
-rw-r--r--src/auth.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/auth.c b/src/auth.c
index d93ea9b0b..0ac623c95 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.15 2004/06/14 11:35:18 danielk1977 Exp $
+** $Id: auth.c,v 1.16 2004/06/19 16:06:11 drh Exp $
*/
#include "sqliteInt.h"
@@ -33,7 +33,6 @@
** is a copy of the 3rd argument to this routine. The second argument
** to the auth function is one of these constants:
**
-** SQLITE_COPY
** SQLITE_CREATE_INDEX
** SQLITE_CREATE_TABLE
** SQLITE_CREATE_TEMP_INDEX
@@ -150,7 +149,7 @@ void sqlite3AuthRead(
sqlite3ErrorMsg(pParse, "access to %s.%s.%s is prohibited",
zDBase, pTab->zName, zCol);
}else{
- sqlite3ErrorMsg(pParse, "access to %s.%s is prohibited", pTab->zName,zCol);
+ sqlite3ErrorMsg(pParse, "access to %s.%s is prohibited",pTab->zName,zCol);
}
pParse->rc = SQLITE_AUTH;
}else if( rc!=SQLITE_OK ){
@@ -222,6 +221,3 @@ void sqlite3AuthContextPop(AuthContext *pContext){
}
#endif /* SQLITE_OMIT_AUTHORIZATION */
-
-
-