mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-29 08:01:23 +03:00
Remove some bad assert() statements from the implementations of window
functions percent_rank() and cume_dist(). FossilOrigin-Name: 443f0c286f1659937fd61b4ef2de17d0d015369e5ff5249a9e0c3d0ee4925158
This commit is contained in:
@ -129,5 +129,15 @@ do_faultsim_test 5 -start 1 -faults oom-* -prep {
|
||||
faultsim_test_result {0 {5 1 9 5 9 9}}
|
||||
}
|
||||
|
||||
do_faultsim_test 6 -faults oom-* -prep {
|
||||
faultsim_restore_and_reopen
|
||||
} -body {
|
||||
execsql {
|
||||
SELECT percent_rank() OVER (), cume_dist() OVER () FROM t1
|
||||
}
|
||||
} -test {
|
||||
faultsim_test_result {0 {0.0 1.0 0.0 1.0 0.0 1.0}}
|
||||
}
|
||||
|
||||
finish_test
|
||||
|
||||
|
Reference in New Issue
Block a user