| From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 |
| From: Victor Costan <pwnall@chromium.org> |
| Date: Sun, 10 Feb 2019 13:12:57 -0800 |
| Subject: [PATCH 03/15] Fix compilation with SQLITE_OMIT_WINDOWFUNC. |
| |
| --- |
| third_party/sqlite/patched/src/resolve.c | 2 ++ |
| 1 file changed, 2 insertions(+) |
| |
| diff --git a/third_party/sqlite/patched/src/resolve.c b/third_party/sqlite/patched/src/resolve.c |
| index 7169152ed6e8..590e8e073f7f 100644 |
| --- a/third_party/sqlite/patched/src/resolve.c |
| +++ b/third_party/sqlite/patched/src/resolve.c |
| @@ -1556,6 +1556,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){ |
| @@ -1566,6 +1567,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. */ |
| -- |
| 2.21.0.392.gf8f6787159e-goog |
| |