1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-08 14:02:16 +03:00

Another very small performance improvement.

FossilOrigin-Name: 7a1e30a17f57ca006dd84b6f97b0c7811bf4c6da4b02903452ffc4bc363cab9b
This commit is contained in:
dan
2019-07-05 19:10:41 +00:00
parent b28c4e564a
commit 1efcc9dd96
5 changed files with 19 additions and 12 deletions

View File

@@ -428,6 +428,9 @@ execsql_test 4.10 {
SELECT count(*) OVER (ORDER BY b) FROM t1
}
execsql_test 4.11 {
SELECT count(distinct a) FILTER (WHERE b='odd') FROM t1
}
finish_test

View File

@@ -897,4 +897,8 @@ do_execsql_test 4.10 {
SELECT count(*) OVER (ORDER BY b) FROM t1
} {3 3 3 6 6 6}
do_execsql_test 4.11 {
SELECT count(distinct a) FILTER (WHERE b='odd') FROM t1
} {3}
finish_test