Bug: SQLite 3.27.1 does not compile with SQLITE_OMIT_WINDOWFUNC

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Bug: SQLite 3.27.1 does not compile with SQLITE_OMIT_WINDOWFUNC

Victor Costan
In case it helps anyone else, I plan to use the patch below to bypass the
compilation error in Chrome.

I'd appreciate a sanity check. I would also be very grateful for a check-in
that addresses the compilation issue, so we can remove our patch in a
future update.

Thank you very much!
    Victor

--- a/src/resolve.c
+++ b/src/resolve.c
@@ -1533,6 +1533,7 @@ static int resolveSelectStep(Walker *pWalker, Select
*p){
       }
     }

+#ifndef SQLITE_OMIT_WINDOWFUNC
     if( IN_RENAME_OBJECT ){
       Window *pWin;
       for(pWin=p->pWinDefn; pWin; pWin=pWin->pNextWin){
@@ -1543,6 +1544,7 @@ static int resolveSelectStep(Walker *pWalker, Select
*p){
         }
       }
     }
+#endif

     /* If this is part of a compound SELECT, check that it has the right
     ** number of expressions in the select list. */
_______________________________________________
sqlite-users mailing list
[hidden email]
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users