System.Data.SQLite

Login
This project makes use of Eagle, provided by Mistachkin Systems.
Eagle: Secure Software Automation
2011-10-03
00:51
Fix test for ticket [b4a7ddc83f] by making sure the SQLite core library is shutdown prior to running the tests. Also, more updates to test procedures web page. check-in: 26b210729a user: mistachkin tags: trunk
2011-09-16
03:37
In the test for ticket [b4a7ddc83f], brace all substituted values in the setup script just in case they may ever contain spaces. check-in: b1727a9afb user: mistachkin tags: trunk
2011-09-14
01:52
Add NuGet package definition file. Make the test for ticket [b4a7ddc83f] work with the mixed-mode assembly. Add filters file for the VS2010 static mixed-mode assembly project. Make use of SQLITE_API macro in interop.c. check-in: 99628f46fe user: mistachkin tags: trunk
2011-07-23
06:10
Revise test case for [b4a7ddc83f] to avoid problems with paths containing spaces. check-in: bb5d6a1356 user: mistachkin tags: trunk
2011-07-21
23:50
Remove unnecessary redundancy in the test for [b4a7ddc83f] and verify that it ran in a non-primary AppDomain. check-in: 7f19f2449d user: mistachkin tags: trunk
21:48 Closed ticket [b4a7ddc83f]: Exception when reloading IIS application plus 4 other changes artifact: b2ecb59f9a user: mistachkin
21:46
Add comment to warn about the nature of the current fix for [b4a7ddc83f]. check-in: f5c5f581dc user: mistachkin tags: trunk
17:18
Preliminary fix for [b4a7ddc83f], shutdown the SQLite native interface when the AppDomain is being unloaded. check-in: 1d024437e5 user: mistachkin tags: trunk
17:15
Update test case for [b4a7ddc83f]. check-in: 10f4be9ed4 user: mistachkin tags: trunk
04:05
Add preliminary test cases for ticket [b4a7ddc83f]. check-in: 1684f669ef user: mistachkin tags: trunk
2011-07-20
10:39 New ticket [b4a7ddc83f] Exception when reloading IIS application. artifact: 68b8276b3c user: anonymous

Ticket Hash: b4a7ddc83f06899da050e711504232b27285a88e
Title: Exception when reloading IIS application
Status: Closed Type: Code_Defect
Severity: Minor Priority: Immediate
Subsystem: Integration_Via_PInvoke Resolution: Fixed
Last Modified: 2011-07-21 21:48:11
Version Found In: a9e8f14e764eb1f2
Description:
When an IIS application is restarted (e.g. a configuration file has changed) the .net part of the SQLite dll is unloaded but the native part remains. When the application then reloads the SQLite dll an exception is thrown whilst creating the SQLiteFactory. I believe I have traced the problem to "SetLogCallback" which then fails on the following native line: if( sqlite3GlobalConfig.isInit ) return SQLITE_MISUSE_BKPT; Maybe this could be fixed by shutting down SQLite in the static constructor of SQLiteLog?

mistachkin added on 2011-07-21 21:48:11 UTC:
This issue has been "fixed" by check-in [1d024437e5]; however, the fix is preliminary and may be modified in the future.