System.Data.SQLite
Check-in [862485361a]
Not logged in

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

Overview
Comment:Fix variable leak in tests 'data-1.91' and 'data-1.92'.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 862485361a3cb80e57f155e3b7a71f4a9abcabe3
User & Date: mistachkin 2017-07-31 19:16:15
Context
2017-07-31
19:16
Update SQLite core library to the latest 3.20 release candidate. check-in: 64b4972972 user: mistachkin tags: trunk
19:16
Fix variable leak in tests 'data-1.91' and 'data-1.92'. check-in: 862485361a user: mistachkin tags: trunk
18:53
Improvements to 'Password' error messages. check-in: 3a8df73b78 user: mistachkin tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to Tests/basic.eagle.

  4731   4731   runTest {test data-1.91 {Password error (no encryption support)} -body {
  4732   4732     list [catch {
  4733   4733       setupDb [set fileName data-1.91.db] "" "" "" "" "Password=1234;"
  4734   4734     } msg] [extractSystemDataSQLiteExceptionMessage $msg]
  4735   4735   } -cleanup {
  4736   4736     cleanupDb $fileName
  4737   4737   
  4738         -  unset -nocomplain db fileName
         4738  +  unset -nocomplain msg db fileName
  4739   4739   } -constraints [fixConstraints {eagle !System.Data.SQLite.Encryption monoBug28\
  4740   4740   command.sql compile.DATA SQLite System.Data.SQLite}] -result {1 {SQL logic\
  4741   4741   error -- Cannot use "Password" connection string property: library was not\
  4742   4742   built with encryption support, please see "https://www.sqlite.org/see" for more\
  4743   4743   information}}}
  4744   4744   
  4745   4745   ###############################################################################
................................................................................
  4747   4747   runTest {test data-1.92 {HexPassword error (no encryption support)} -body {
  4748   4748     list [catch {
  4749   4749       setupDb [set fileName data-1.92.db] "" "" "" "" "HexPassword=1234;"
  4750   4750     } msg] [extractSystemDataSQLiteExceptionMessage $msg]
  4751   4751   } -cleanup {
  4752   4752     cleanupDb $fileName
  4753   4753   
  4754         -  unset -nocomplain db fileName
         4754  +  unset -nocomplain msg db fileName
  4755   4755   } -constraints [fixConstraints {eagle !System.Data.SQLite.Encryption monoBug28\
  4756   4756   command.sql compile.DATA SQLite System.Data.SQLite}] -result {1 {SQL logic\
  4757   4757   error -- Cannot use "HexPassword" connection string property: library was not\
  4758   4758   built with encryption support, please see "https://www.sqlite.org/see" for more\
  4759   4759   information}}}
  4760   4760   
  4761   4761   ###############################################################################