diff options
author | drh <drh@noemail.net> | 2018-07-10 07:39:23 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2018-07-10 07:39:23 +0000 |
commit | eee08611555199aa56aa99f30e0033a124fd9ff7 (patch) | |
tree | 246b7a92cb3d95dc4e347fff9dc4c55f54aadb7c /src/expr.c | |
parent | 38630ae1de36db73c4610348592bf616ac116529 (diff) | |
download | sqlite-eee08611555199aa56aa99f30e0033a124fd9ff7.tar.gz sqlite-eee08611555199aa56aa99f30e0033a124fd9ff7.zip |
Fix a harmless warning about comment formatting in the previous
check-in. Simplify the ORDER BY dereferencing logic so that it avoids
unreachable branches.
FossilOrigin-Name: 0f6ec605e131ab3d53b9df32af0a3207146a9abbd22dcabd6ef050b92f96735d
Diffstat (limited to 'src/expr.c')
-rw-r--r-- | src/expr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/expr.c b/src/expr.c index a329ef413..e6df332fb 100644 --- a/src/expr.c +++ b/src/expr.c @@ -4953,7 +4953,7 @@ int sqlite3ExprCompare(Parse *pParse, Expr *pA, Expr *pB, int iTab){ } #ifndef SQLITE_OMIT_WINDOWFUNC /* Justification for the assert(): - /* window functions have p->op==TK_FUNCTION but aggregate functions + ** window functions have p->op==TK_FUNCTION but aggregate functions ** have p->op==TK_AGG_FUNCTION. So any comparison between an aggregate ** function and a window function should have failed before reaching ** this point. And, it is not possible to have a window function and |