/ Check-in [53f787ad]
Login

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

Overview
Comment:Fix the fts3varint.test script so that it works even on versions of TCL for which Tcl_GetWideIntFromObj() does not work.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 53f787ad298756027f630bfefade98b46f01539eb152f7e359b280335c77379e
User & Date: drh 2019-04-13 16:43:58
Context
2019-04-13
16:50
Fix a harmless compiler warning in test logic. check-in: c3932e66 user: drh tags: trunk
16:43
Fix the fts3varint.test script so that it works even on versions of TCL for which Tcl_GetWideIntFromObj() does not work. check-in: 53f787ad user: drh tags: trunk
16:35
Fix a test script problem in fts5corrupt3.test. check-in: 858f6227 user: dan tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to test/fts3varint.test.

   106    106       576460752303423487 576460752303423488 576460752303423489 }
   107    107   do_fts3_varint_test 2.60 { 
   108    108       1152921504606846975 1152921504606846976 1152921504606846977 }
   109    109   do_fts3_varint_test 2.61 { 
   110    110       2305843009213693951 2305843009213693952 2305843009213693953 }
   111    111   do_fts3_varint_test 2.62 { 
   112    112       4611686018427387903 4611686018427387904 4611686018427387905 }
   113         -do_fts3_varint_test 2.63 { 
   114         -    9223372036854775807 9223372036854775808 9223372036854775809 }
          113  +
          114  +if {![catch {fts3_test_varint 18446744073709551615}]} {
          115  +  do_fts3_varint_test 2.63 { 
          116  +      9223372036854775807 9223372036854775808 9223372036854775809 }
   115    117   
   116         -do_fts3_varint_test 3.0 { 18446744073709551615 -18446744073709551615 }
          118  +  do_fts3_varint_test 3.0 { 18446744073709551615 -18446744073709551615 }
          119  +}
   117    120   
   118    121   finish_test