aboutsummaryrefslogtreecommitdiff
path: root/src/build.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2016-09-16 11:53:10 +0000
committerdrh <drh@noemail.net>2016-09-16 11:53:10 +0000
commita0daa751f85d7150e8fe4b143253d6f771204d46 (patch)
tree709e24ab2cf7ae98e78d0a33252f5c6d4cfac1cb /src/build.c
parent760c8162fffd53f660adf4b3cdaf7aee7070d845 (diff)
downloadsqlite-a0daa751f85d7150e8fe4b143253d6f771204d46.tar.gz
sqlite-a0daa751f85d7150e8fe4b143253d6f771204d46.zip
Fix SQLITE_OMIT_AUTHORIZATION so that it compiles cleanly.
FossilOrigin-Name: a3e3b3e1c57178ccd38fc7375ec1de8e8ae45372
Diffstat (limited to 'src/build.c')
-rw-r--r--src/build.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/build.c b/src/build.c
index ca4802cd0..3384e6db8 100644
--- a/src/build.c
+++ b/src/build.c
@@ -2141,7 +2141,9 @@ int sqlite3ViewGetColumnNames(Parse *pParse, Table *pTable){
int nErr = 0; /* Number of errors encountered */
int n; /* Temporarily holds the number of cursors assigned */
sqlite3 *db = pParse->db; /* Database connection for malloc errors */
+#ifndef SQLITE_OMIT_AUTHORIZATION
sqlite3_xauth xAuth; /* Saved xAuth pointer */
+#endif
assert( pTable );