aboutsummaryrefslogtreecommitdiff
path: root/src/window.c
diff options
context:
space:
mode:
authordrh <>2021-09-25 17:07:57 +0000
committerdrh <>2021-09-25 17:07:57 +0000
commit1580d50b7657a8e97550f2ad8d162c937a28897e (patch)
tree665c6ade2c0d8b82e295a865898318861b6efe14 /src/window.c
parent84d90319e585173a50ac157d9404aee7d6261fe3 (diff)
downloadsqlite-1580d50b7657a8e97550f2ad8d162c937a28897e.tar.gz
sqlite-1580d50b7657a8e97550f2ad8d162c937a28897e.zip
Add const to parameters on various internal interfaces.
FossilOrigin-Name: 70c221c5cf7b4d9ed34f16d045f262f99d16aa3db84f80cf0b03ee82ba28d075
Diffstat (limited to 'src/window.c')
-rw-r--r--src/window.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/window.c b/src/window.c
index 423ad2db8..ba0e14e00 100644
--- a/src/window.c
+++ b/src/window.c
@@ -1345,7 +1345,12 @@ void sqlite3WindowLink(Select *pSel, Window *pWin){
** different, or 2 if it cannot be determined if the objects are identical
** or not. Identical window objects can be processed in a single scan.
*/
-int sqlite3WindowCompare(Parse *pParse, Window *p1, Window *p2, int bFilter){
+int sqlite3WindowCompare(
+ const Parse *pParse,
+ const Window *p1,
+ const Window *p2,
+ int bFilter
+){
int res;
if( NEVER(p1==0) || NEVER(p2==0) ) return 1;
if( p1->eFrmType!=p2->eFrmType ) return 1;