/ Check-in [1e29fd43]
Login

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

Overview
Comment:Fix a test case that was failing for SQLITE_ENABLE_STAT4 builds.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256:1e29fd430dead641c5d92943ce81cf51b3df2f45c5a011bb2eed592efd62e056
User & Date: dan 2018-08-21 17:03:26
Context
2018-08-23
18:56
Automatically detect when compiling for AArch64 on windows and set SQLITE_BYTEORDER to little-endian to avoid compile-time testing. check-in: ef6729be user: drh tags: trunk
2018-08-21
17:03
Fix a test case that was failing for SQLITE_ENABLE_STAT4 builds. check-in: 1e29fd43 user: dan tags: trunk
12:46
Further attempts to reduce the number of false-positives genenerated by static analysis tools. check-in: 38f9ce65 user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to test/view.test.

   687    687       return SQLITE_OK
   688    688     }
   689    689     set log ""
   690    690     db authorizer ::authLogDelete
   691    691     db eval {DROP VIEW x1;}
   692    692     set log
   693    693   } {}
          694  +
          695  +set res [list {SQLITE_DELETE sqlite_stat1 {} main {} {}}]
          696  +ifcapable stat4 { lappend res {SQLITE_DELETE sqlite_stat4 {} main {} {}} }
   694    697   do_test view-25.2 {
   695    698     set log ""
   696    699     db eval {DROP TABLE t25;}
   697    700     set log
   698         -} {{SQLITE_DELETE sqlite_stat1 {} main {} {}}}
          701  +} $res
   699    702   
   700    703   finish_test