System.Data.SQLite

Check-in [16ef12980e]
Login

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

Overview
Comment:Merge updates from trunk.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | customDataTypes
Files: files | file ages | folders
SHA1: 16ef12980ec6ae22f816f67c62710c4fcdbe192e
User & Date: mistachkin 2016-06-19 06:44:08.974
Context
2016-06-19
07:33
The database type name should be included in the parameters passed to the type callbacks. check-in: ab419bfca1 user: mistachkin tags: customDataTypes
06:44
Merge updates from trunk. check-in: 16ef12980e user: mistachkin tags: customDataTypes
06:42
Fix some test constraints. check-in: f1e6c7c76b user: mistachkin tags: trunk
03:49
Refine the SQLiteTypeCallbacks class. check-in: dca07f2301 user: mistachkin tags: customDataTypes
Changes
Unified Diff Ignore Whitespace Patch
Changes to Tests/basic.eagle.
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
      $result(10)
} -cleanup {
  cleanupDb $fileName

  freeDbConnection

  unset -nocomplain result code command connection db fileName
} -constraints \
{eagle monoBug28 command.sql compile.DATA SQLite System.Data.SQLite} -result \
{0 {} 0 {} 0 {} 1 {SQL logic error or missing database -- no such table: t2} 1\
{SQL logic error or missing database -- near "BAD": syntax error} 0 {} 1 {SQL\
logic error or missing database -- no such table: t2} 1 {SQL logic error or\
missing database -- near "BAD": syntax error} 1 {SQL logic error or missing\
database -- no such table: t2} {1 2 3}}}

###############################################################################

runTest {test data-1.82 {IsReadOnly method} -setup {
  set fileName data-1.82.db
} -body {
  set result [list]







<
|
|
|
|
|
|







4159
4160
4161
4162
4163
4164
4165

4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
      $result(10)
} -cleanup {
  cleanupDb $fileName

  freeDbConnection

  unset -nocomplain result code command connection db fileName

} -constraints {eagle command.object monoBug28 command.sql compile.DATA SQLite\
System.Data.SQLite} -result {0 {} 0 {} 0 {} 1 {SQL logic error or missing\
database -- no such table: t2} 1 {SQL logic error or missing database -- near\
"BAD": syntax error} 0 {} 1 {SQL logic error or missing database -- no such\
table: t2} 1 {SQL logic error or missing database -- near "BAD": syntax error}\
1 {SQL logic error or missing database -- no such table: t2} {1 2 3}}}

###############################################################################

runTest {test data-1.82 {IsReadOnly method} -setup {
  set fileName data-1.82.db
} -body {
  set result [list]
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
  freeDbConnection

  unset -nocomplain connection

  cleanupDb $fileName

  unset -nocomplain error result db fileName
} -constraints \
{eagle monoBug28 command.sql compile.DATA SQLite System.Data.SQLite} -result {0\
False 1 {unknown error -- database "wrong" not found} 0 True 1 {unknown error\
-- database "wrong" not found} 0 False 1 {unknown error -- database "wrong" not\
found}}}

###############################################################################

reportSQLiteResources $test_channel

###############################################################################

runSQLiteTestFilesEpilogue
runSQLiteTestEpilogue
runTestEpilogue







|
|
|
|
<










4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232

4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
  freeDbConnection

  unset -nocomplain connection

  cleanupDb $fileName

  unset -nocomplain error result db fileName
} -constraints {eagle command.object monoBug28 command.sql compile.DATA SQLite\
System.Data.SQLite} -result {0 False 1 {unknown error -- database "wrong" not\
found} 0 True 1 {unknown error -- database "wrong" not found} 0 False 1\
{unknown error -- database "wrong" not found}}}


###############################################################################

reportSQLiteResources $test_channel

###############################################################################

runSQLiteTestFilesEpilogue
runSQLiteTestEpilogue
runTestEpilogue