System.Data.SQLite
Check-in [acfc512faa]
Not logged in

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

Overview
Comment:Make test 'data-1.84' work on Mono 4.4.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: acfc512faa3e7c3af36a4106514b40094c3f0618
User & Date: mistachkin 2016-07-30 19:47:00
Context
2016-07-30
19:52
Skip test 'thread-1.1' on Mono 4.4. check-in: f9cfd2a3ab user: mistachkin tags: trunk
19:47
Make test 'data-1.84' work on Mono 4.4. check-in: acfc512faa user: mistachkin tags: trunk
18:43
The Mono batch build tool should honor the BUILD_DEBUG environment variable. check-in: 068edf42f2 user: mistachkin tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to Tests/basic.eagle.

  4428   4428   missing database -- no such function: REGEXP\} 1 \{SQL logic error or missing\
  4429   4429   database -- no such function: REGEXP\} 0 \{\}$}}
  4430   4430   
  4431   4431   ###############################################################################
  4432   4432   
  4433   4433   runTest {test data-1.84 {GetBlob method and SQLiteBlob class} -setup {
  4434   4434     proc getBytesAsList { bytes } {
  4435         -    set byteList [object create -alias ByteList $bytes]
         4435  +    #
         4436  +    # HACK: *MONO* Mono does not choose the right ByteList constructor
         4437  +    #       overload here.  Therefore, attempt to force the issue.
         4438  +    #
         4439  +    set byteList [object create -parametertypes [list \
         4440  +        System.Collections.Generic.IEnumerable`1\[System.Byte\]] \
         4441  +        -alias ByteList $bytes]
         4442  +
  4436   4443       return [$byteList ToString]
  4437   4444     }
  4438   4445   
  4439   4446     setupDb [set fileName data-1.84.db] "" "" "" NoVerifyTypeAffinity
  4440   4447   } -body {
  4441   4448     sql execute $db {
  4442   4449       CREATE TABLE t1(x INTEGER PRIMARY KEY, y);