aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordan <dan@noemail.net>2015-11-26 15:51:55 +0000
committerdan <dan@noemail.net>2015-11-26 15:51:55 +0000
commitfab1d401f80e1646341727c50b91377e6f5eb80a (patch)
treeb88bb9a97060209404cfaa7287c8eaa50331f64e /src
parentacb6b28d6065e07b73587c9ca5671f9ebf341678 (diff)
downloadsqlite-fab1d401f80e1646341727c50b91377e6f5eb80a.tar.gz
sqlite-fab1d401f80e1646341727c50b91377e6f5eb80a.zip
Fix a problem with the userauth extension and no-authentication databases. Run the tests for this extension as part of the Debug-One module in releasetest.tcl.
FossilOrigin-Name: 8b15621952889b4ba53b2ea3171fef7ef0479ddb
Diffstat (limited to 'src')
-rw-r--r--src/build.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/build.c b/src/build.c
index 5f2dc2823..765196f82 100644
--- a/src/build.c
+++ b/src/build.c
@@ -376,12 +376,7 @@ Table *sqlite3LocateTable(
}
pParse->checkSchema = 1;
}
-#if SQLITE_USER_AUTHENTICATION
- else if( pParse->db->auth.authLevel<UAUTH_User ){
- sqlite3ErrorMsg(pParse, "user not authenticated");
- p = 0;
- }
-#endif
+
return p;
}