/ Check-in [ccf734f7]
Login

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

Overview
Comment:Fix a couple issues in the 'session' module tests.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: ccf734f7d2bf8f99f3c55124b05c1835e4371bc269f27700f40afc26e7c1bc55
User & Date: mistachkin 2018-03-24 23:16:05
Context
2018-03-26
16:37
Refactor some internal object element names used by the busy handler, to simplify analysis. check-in: 6c40c557 user: drh tags: trunk
2018-03-24
23:16
Fix a couple issues in the 'session' module tests. check-in: ccf734f7 user: mistachkin tags: trunk
20:06
Fix harmless compiler warning seen with MSVC. check-in: e9508ab1 user: mistachkin tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to ext/session/session4.test.

     6      6   #    May you do good and not evil.
     7      7   #    May you find forgiveness for yourself and forgive others.
     8      8   #    May you share freely, never taking more than you give.
     9      9   #
    10     10   #***********************************************************************
    11     11   # This file implements regression tests for the session module. 
    12     12   # 
           13  +
           14  +package require Tcl 8.6
    13     15   
    14     16   if {![info exists testdir]} {
    15     17     set testdir [file join [file dirname [info script]] .. .. test]
    16     18   } 
    17     19   source [file join [file dirname [info script]] session_common.tcl]
    18     20   source $testdir/tester.tcl
    19     21   ifcapable !session {finish_test; return}

Changes to ext/session/sessionfault2.test.

   156    156     INSERT INTO t3 VALUES(7, 2, 9);
   157    157   
   158    158     INSERT INTO t4 VALUES('a', 'b', 'c');
   159    159     INSERT INTO t4 VALUES('d', 'e', 'f');
   160    160     INSERT INTO t4 VALUES('g', 'h', 'i');
   161    161   }
   162    162   faultsim_save_and_close
          163  +db2 close
   163    164   
   164    165   proc xConflict {ret args} { return $ret }
   165    166   
   166    167   do_test 2.1 {
   167    168     faultsim_restore_and_reopen
   168    169     set C1 [changeset_from_sql {
   169    170       INSERT INTO t3 VALUES(10, 11, 12);