/ Check-in [8c80e81d]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix a typo in test file window1.test.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 8c80e81d01abde9a5032cdc1a492d0fccd8db139f78d2db9413a60cfdc8e0f64
User & Date: dan 2019-07-13 17:54:24
Context
2019-07-13
18:27
Fix a memory leak that could follow an OOM in the new FILTER code. check-in: 85fd70fe user: dan tags: trunk
17:54
Fix a typo in test file window1.test. check-in: 8c80e81d user: dan tags: trunk
17:45
Fix error handling for the case where a window function is passed the wrong number of arguments. check-in: 871796bb user: dan tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to test/window1.test.

   255    255     SELECT trim(x) OVER (ORDER BY y) FROM t1;
   256    256   } {1 {trim() may not be used as a window function}}
   257    257   do_catchsql_test 7.1.7 {
   258    258     SELECT max(x) OVER abc FROM t1 WINDOW def AS (ORDER BY y);
   259    259   } {1 {no such window: abc}}
   260    260   do_catchsql_test 7.1.8 {
   261    261     SELECT row_number(x) OVER () FROM t1
   262         -} {1 {wrong number of arguments to function row_number}}
          262  +} {1 {wrong number of arguments to function row_number()}}
   263    263   
   264    264   do_execsql_test 7.2 {
   265    265     SELECT 
   266    266       lead(y) OVER win, 
   267    267       lead(y, 2) OVER win, 
   268    268       lead(y, 3, 'default') OVER win
   269    269     FROM t1