System.Data.SQLite
Check-in [2381125d29]
Not logged in

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

Overview
Comment:Fix script variable name typo.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 2381125d2979e6581da12602e662d36ff98a45cf
User & Date: mistachkin 2012-09-22 18:56:26
Context
2012-09-23
07:36
Disable the 'Prefer 32-bit' project setting for all Visual Studio 2012 managed EXE projects as this prevents them from working properly on x64. check-in: 83e6d84d01 user: mistachkin tags: trunk
2012-09-22
18:56
Fix script variable name typo. check-in: 2381125d29 user: mistachkin tags: trunk
18:50
Modularize the connection opaque object handle lookup done by several tests. Modify test data-1.34 to use the Enum typed ReturnCode property instead of the Int32 typed ErrorCode property. Improve comments and formatting in the common test suite infrastructure file. check-in: 40e0fb8133 user: mistachkin tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to Tests/common.eagle.

   759    759         #       Eagle internals, great care should be taken to avoid disposing of
   760    760         #       this object or otherwise putting it into an invalid state.
   761    761         #
   762    762         if {[info exists db]} then {
   763    763           if {[catch {
   764    764                   object invoke -flags +NonPublic -objectflags +NoDispose \
   765    765                   -alias Interpreter.GetActive.connections Item $db} \
   766         -                connection] == 0} then {
          766  +                result] == 0} then {
   767    767             #
   768    768             # NOTE: Success, return the opaque object handle.
   769    769             #
   770         -          return $connection
          770  +          return $result
   771    771           } else {
   772    772             #
   773    773             # NOTE: Failure, report why.
   774    774             #
   775    775             tputs $::test_channel [appendArgs \
   776    776                 "==== WARNING: failed to get connection handle for database \"" \
   777         -              $db "\", error: " \n\t $error \n]
          777  +              $db "\", error: " \n\t $result \n]
   778    778           }
   779    779         }
   780    780       }
   781    781   
   782    782       proc freeDbConnection { {varName connection} } {
   783    783         #
   784    784         # NOTE: Refer to the specified variable (e.g. "connection") in the context