System.Data.SQLite
Check-in [90e0d6df11]
Not logged in

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

Overview
Comment:Stop leaking the 'savedEnv' script variable in tests 'data-1.68' and 'data-1.69'.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 90e0d6df11eb57d13c258f5382700ad430b202e1
User & Date: mistachkin 2015-12-20 07:13:34
Context
2015-12-20
07:13
Use save/restore semantics for environment variables modified by the test suite infrastructure. check-in: 90e981ea2d user: mistachkin tags: trunk
07:13
Stop leaking the 'savedEnv' script variable in tests 'data-1.68' and 'data-1.69'. check-in: 90e0d6df11 user: mistachkin tags: trunk
00:28
Avoid using the SQLiteString and SQLiteMemory classes when compiling without virtual table support. Fix for [b56b653ee9]. check-in: cfc40dbb9c user: mistachkin tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to Tests/basic.eagle.

  3170   3170         [$connection Flags]
  3171   3171   } -cleanup {
  3172   3172     cleanupDb $fileName
  3173   3173     restoreSQLiteConnectionEnvironment
  3174   3174   
  3175   3175     freeDbConnection
  3176   3176   
  3177         -  unset -nocomplain connection db fileName
         3177  +  unset -nocomplain connection db fileName savedEnv
  3178   3178   } -constraints {eagle command.object monoBug28 command.sql compile.DATA SQLite\
  3179   3179   System.Data.SQLite} -match regexp -result \
  3180   3180   {^Default Default|LogCallbackException LogCallbackException$}}
  3181   3181   
  3182   3182   ###############################################################################
  3183   3183   
  3184   3184   runTest {test data-1.69 {set env(DefaultFlags_SQLiteConnection)} -setup {
................................................................................
  3194   3194         [$connection Flags]
  3195   3195   } -cleanup {
  3196   3196     cleanupDb $fileName
  3197   3197     restoreSQLiteConnectionEnvironment
  3198   3198   
  3199   3199     freeDbConnection
  3200   3200   
  3201         -  unset -nocomplain connection db fileName
         3201  +  unset -nocomplain connection db fileName savedEnv
  3202   3202   } -constraints {eagle command.object monoBug28 command.sql compile.DATA SQLite\
  3203   3203   System.Data.SQLite} -result {{DetectTextAffinity, DetectStringType}\
  3204   3204   {DetectTextAffinity, DetectStringType}}}
  3205   3205   
  3206   3206   ###############################################################################
  3207   3207   
  3208   3208   rename restoreSQLiteConnectionEnvironment ""