System.Data.SQLite

Check-in [876e28e172]
Login

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

Overview
Comment:Revisions to the previous check-in.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 876e28e172a5512f1cc289366169cc7e68ebdcb3
User & Date: mistachkin 2016-09-06 03:12:32.055
Context
2016-09-06
19:59
Fix typo in the stress test. check-in: 25f35607b8 user: mistachkin tags: trunk
03:12
Revisions to the previous check-in. check-in: 876e28e172 user: mistachkin tags: trunk
02:42
Add the ability to specify the initial journal mode for stress test database files. check-in: b5c343a59c user: mistachkin tags: trunk
Changes
Unified Diff Ignore Whitespace Patch
Changes to Tests/stress.eagle.
43
44
45
46
47
48
49
50
51
52

53
54
55
56
57
58
59
60
checkForSQLiteDirectories $test_channel
getSQLiteHandleCounts $test_channel
reportSQLiteResources $test_channel

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

runTest {test stress-1.1 {multithreaded stress testing} -setup {
  unset -nocomplain result thread index workload priority noWorkload \
      priorities srcDb db fileName compiled options count times logFileName \
      logListener event timeout connection indicators iterations exitOnFail \

      coTaskMem noTrace failures status workloadNames workloadCallbacks

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

  proc setupWorkloadMemDb { fileName varName } {
    #
    # NOTE: This should be an in-memory database; therefore, skip attempting
    #       to delete the underlying database file as that would not make any







|
|
|
>
|







43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
checkForSQLiteDirectories $test_channel
getSQLiteHandleCounts $test_channel
reportSQLiteResources $test_channel

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

runTest {test stress-1.1 {multithreaded stress testing} -setup {
  unset -nocomplain result thread index workload priority journalMode \
      noWorkload priorities srcDb db fileName compiled options count \
      times logFileName logListener event timeout connection \
      indicators iterations exitOnFail coTaskMem noTrace failures \
      status workloadNames workloadCallbacks

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

  proc setupWorkloadMemDb { fileName varName } {
    #
    # NOTE: This should be an in-memory database; therefore, skip attempting
    #       to delete the underlying database file as that would not make any
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
  if {!$noTrace} then {
    cleanupLogging $logFileName
  }

  rename cleanupLogging ""
  rename setupLogging ""

  unset -nocomplain result thread index workload priority noWorkload \
      journalMode priorities srcDb db fileName compiled options count \
      times logFileName logListener event timeout connection \
      indicators iterations exitOnFail coTaskMem noTrace failures \
      status workloadNames workloadCallbacks
} -time true -constraints {eagle command.object monoBug40 command.sql\
compile.DATA SQLite System.Data.SQLite compileCSharp} -result {0}}

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








|
|
|







1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
  if {!$noTrace} then {
    cleanupLogging $logFileName
  }

  rename cleanupLogging ""
  rename setupLogging ""

  unset -nocomplain result thread index workload priority journalMode \
      noWorkload priorities srcDb db fileName compiled options count \
      times logFileName logListener event timeout connection
      indicators iterations exitOnFail coTaskMem noTrace failures \
      status workloadNames workloadCallbacks
} -time true -constraints {eagle command.object monoBug40 command.sql\
compile.DATA SQLite System.Data.SQLite compileCSharp} -result {0}}

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