]> git.ipfire.org Git - thirdparty/sqlite.git/commitdiff
Fix for OMIT_AUTHORIZATION builds. (CVS 4489)
authordanielk1977 <danielk1977@noemail.net>
Mon, 15 Oct 2007 07:08:44 +0000 (07:08 +0000)
committerdanielk1977 <danielk1977@noemail.net>
Mon, 15 Oct 2007 07:08:44 +0000 (07:08 +0000)
FossilOrigin-Name: 260711a14d5ab2d7c9888c7c46c33a28a3da0415

manifest
manifest.uuid
src/build.c

index 1bc73261bab5ad055d19e0638fe1a5a880e138f1..800e5276512aa97dfd1147b994f55655ff781d27 100644 (file)
--- a/manifest
+++ b/manifest
@@ -1,5 +1,5 @@
-C Do\snot\sinvoke\sthe\sauthorizer\swhen\sreparsing\sthe\sschema\safter\sa\sschema\nchange\sor\swhen\strying\sto\sfigure\sout\sthe\sresult\sset\sof\sa\sview.\s(CVS\s4488)
-D 2007-10-12T20:42:29
+C Fix\sfor\sOMIT_AUTHORIZATION\sbuilds.\s(CVS\s4489)
+D 2007-10-15T07:08:44
 F Makefile.in 75b729d562e9525d57d9890ec598b38e1a8b02bc
 F Makefile.linux-gcc 65241babba6faf1152bf86574477baab19190499
 F README 9c4e2d6706bdcc3efdd773ce752a8cdab4f90028
@@ -84,7 +84,7 @@ F src/btmutex.c 442be6f068d77ca9ffd69899cf0a3943c244548c
 F src/btree.c a491c45b4412e6f19458e122bafa0cca8f22d224
 F src/btree.h d0736ebca4b6eafbdd823c46a8de574cea078211
 F src/btreeInt.h 4330c19b8314545fdb209cc77e2a57f6a5290e9c
-F src/build.c a400945db0c43f077e06d45a670bf9ad0c6fd4a2
+F src/build.c d4ace66c2612d8973a17afdfe34b2a62f1a80178
 F src/callback.c 77b302b0d41468dcda78c70e706e5b84577f0fa0
 F src/complete.c 4cf68fd75d60257524cbe74f87351b9848399131
 F src/date.c 49c5a6d2de6c12000905b4d36868b07d3011bbf6
@@ -581,7 +581,7 @@ F www/tclsqlite.tcl 8be95ee6dba05eabcd27a9d91331c803f2ce2130
 F www/vdbe.tcl 87a31ace769f20d3627a64fa1fade7fed47b90d0
 F www/version3.tcl 890248cf7b70e60c383b0e84d77d5132b3ead42b
 F www/whentouse.tcl fc46eae081251c3c181bd79c5faef8195d7991a5
-P e1b2e7c24ce0f838687a503dc98188a0e67c79de
-R 525828fdeb77c0b3207ff7d87dd55a9d
-U drh
-Z 10cf92f8870071423d4027eef109f9ac
+P e756bc9b74ef357c088b3044527c41e6834ba1a2
+R 2a362f0638262e15107e468de4d77838
+U danielk1977
+Z 171613e0cdad61754450cbee9fe33dc0
index f959c6cbc7850120fe5617800e00159b293a0c55..01d288a62515e0a9de812b02134c1006b7f95ab7 100644 (file)
@@ -1 +1 @@
-e756bc9b74ef357c088b3044527c41e6834ba1a2
\ No newline at end of file
+260711a14d5ab2d7c9888c7c46c33a28a3da0415
\ No newline at end of file
index 966ab465f196e6f87f09dccf9c312af9b10abb6d..ef6384b05b07ce6c06966865068bccbb5222e1b8 100644 (file)
@@ -22,7 +22,7 @@
 **     COMMIT
 **     ROLLBACK
 **
-** $Id: build.c,v 1.446 2007/10/12 20:42:29 drh Exp $
+** $Id: build.c,v 1.447 2007/10/15 07:08:44 danielk1977 Exp $
 */
 #include "sqliteInt.h"
 #include <ctype.h>
@@ -1725,10 +1725,14 @@ int sqlite3ViewGetColumnNames(Parse *pParse, Table *pTable){
     n = pParse->nTab;
     sqlite3SrcListAssignCursors(pParse, pSel->pSrc);
     pTable->nCol = -1;
+#ifndef SQLITE_OMIT_AUTHORIZATION
     xAuth = db->xAuth;
     db->xAuth = 0;
     pSelTab = sqlite3ResultSetOfSelect(pParse, 0, pSel);
     db->xAuth = xAuth;
+#else
+    pSelTab = sqlite3ResultSetOfSelect(pParse, 0, pSel);
+#endif
     pParse->nTab = n;
     if( pSelTab ){
       assert( pTable->aCol==0 );