System.Data.SQLite

All files named ”System.Data.SQLite/SQLiteLog.cs”
Login

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

History for System.Data.SQLite/SQLiteLog.cs

2024-06-26
16:26
Add support for the 'SQLite_TraceCategories' environment variable. file: [b14a3ec092] check-in: [37849c1af4] user: mistachkin branch: trunk, size: 35001
2023-05-13
01:03
Reforms to the SQLite logging subsystem integration taking into account the new CONFIG_LOG handling in 3.42. file: [dc99c78935] check-in: [e96b7e9a21] user: mistachkin branch: trunk, size: 34932
2021-05-23
15:25
Fix compilation issues seen with the .NET Compact Framework. file: [4294da2ca0] check-in: [6693b87658] user: mistachkin branch: trunk, size: 33988
2021-05-11
01:44
Make the 'No_SQLiteLog' environment variable have a bigger scope. file: [946739b034] check-in: [b9c705d22e] user: mistachkin branch: trunk, size: 33858
2021-05-07
21:29
Minor optimization to the previous check-in. file: [6d50b7c4de] check-in: [6e24a9d20d] user: mistachkin branch: logInitEvent, size: 33864
21:23
Experimental work on more thread-safety in the logging subsystem. file: [41cb7744e7] check-in: [2a24b09acb] user: mistachkin branch: logInitEvent, size: 33631
2021-05-06
02:10
Further enhancements to the logging subsystem. file: [dddef85672] check-in: [398e1ba2fd] user: mistachkin branch: trunk, size: 30422
2021-03-08
05:33
Minor enhancements to the SQLiteLog class. file: [c50f5bef08] check-in: [83fb6ed97f] user: mistachkin branch: trunk, size: 26397
2020-09-24
21:59
Attempt to optimize construction of the SQLiteConnection class. Pursuant to [be12568e30]. file: [03307b1faa] check-in: [438037ced6] user: mistachkin branch: trunk, size: 26271
2019-05-16
03:23
Enhance the new tests for SQLiteLog subsystem initialization. file: [5019163968] check-in: [767b97f170] user: mistachkin branch: trunk, size: 24434
2019-05-15
01:28
Experimental changes to the SQLiteLog class to enable forced use of the managed logging callback. file: [6e0af555e1] check-in: [5cd4a102a9] user: mistachkin branch: sqliteLog, size: 25849
01:08
Add additional tests for the SQLiteLog.Initialize method. Add 'No_SQLiteLog' environment variable to disable the SQLiteLog subsystem initialization. file: [5d51ad181c] check-in: [232364a514] user: mistachkin branch: trunk, size: 24437
2019-05-14
20:22
Slightly improve error handling in the SQLiteLog.Initialize method. file: [6721ea1ac7] check-in: [0f34d6ea03] user: mistachkin branch: trunk, size: 23288
2018-07-26
08:21
Fix handling of codes returned from sqlite3_config_log_interop(). Update version history docs. file: [b0317b420b] check-in: [2baae0f0d8] user: mistachkin branch: trunk, size: 23232
07:56
More reform to the logging subsystem. Move interop log callback into the SQLiteLog class. file: [d92e515f58] check-in: [4a9980ac1d] user: mistachkin branch: trunk, size: 23235
07:24
Fixes to the new SQLiteLog initialization handling and associated test suite infrastructure updates. file: [6ed526502d] check-in: [04d60edbdf] user: mistachkin branch: trunk, size: 21541
06:52
By default, only attempt to initialize the logging subsystem once and add 'Initialize_SQLiteLog' setting to disable this behavior. file: [a2048e6a48] check-in: [21c1c04012] user: mistachkin branch: trunk, size: 21679
2018-05-29
01:57
Fix typo in the previous check-in. file: [4c031e5323] check-in: [c29222dd3a] user: mistachkin branch: trunk, size: 20403
01:55
Add support for the 'Disable_SQLiteLog' configuration setting. file: [32ce5493f9] check-in: [e7b7d00d63] user: mistachkin branch: trunk, size: 20403
2016-03-23
23:35
Move some things out of the UnsafeNativeMethods class. There are several reasons: 1) easier to maintain. 2) avoiding static call graph issues with CriticalHandle. 3) better separation of cross-platform and platform-specific code. file: [7e1f5d232d] check-in: [d3e312825a] user: mistachkin branch: trunk, size: 20152
2015-08-12
22:21
Add some workarounds to allow the core managed assembly to work on Mono 4.0. file: [1111b215d1] check-in: [e7803b3ae7] user: mistachkin branch: trunk, size: 20164
17:53
Compilation fixes for .NET Compact Framework with custom compile options. file: [0f904c7df6] check-in: [8d08bc1cf9] user: mistachkin branch: trunk, size: 20126
2014-05-30
19:36
Correct the SQLiteLog output formatting when the message originates from within the System.Data.SQLite library itself. file: [6636e083dc] check-in: [5ae87a8a66] user: mistachkin branch: trunk, size: 20066
2014-05-27
05:33
Revise how the SQLiteLog class is used in the default debug builds (i.e. when INTEROP_LOG is enabled). file: [34e518902d] check-in: [1affdac144] user: mistachkin branch: trunk, size: 19612
2013-12-27
04:55
Fix reading setting values from the XML configuration file and allow for a default value to be specified. file: [8e77009d3a] check-in: [2b37dc7c86] user: mistachkin branch: refactorNativeLibraryPreLoader, size: 19536
2013-12-26
23:48
More work-in-progress on refactoring the native library pre-loader. file: [d2adcbca23] check-in: [60011bd9e5] user: mistachkin branch: refactorNativeLibraryPreLoader, size: 19530
04:01
Refactor native library pre-loading code to be more flexible. file: [585e060dad] check-in: [77a0e66f10] user: mistachkin branch: refactorNativeLibraryPreLoader, size: 19531
2013-11-13
20:43
Better handling of non-error log messages from the SQLite core library. Pursuant to [44df10ea90]. file: [a945c224fb] check-in: [70d2eddb52] user: mistachkin branch: trunk, size: 19529
2013-06-22
00:52
Improve diagnostics for test data-1.1. Fix connection handle leak by removing superfluous _ownHandle fields and add properties instead. file: [e9f2959436] check-in: [0e4ebe697a] user: mistachkin branch: virtualTables, size: 18965
2013-06-21
06:27
Fix disposal semantics for classes derived from the SQLiteModuleBase class. Use the String.Format method consistently. Enable virtual table related native memory allocation tracking on the .NET Compact Framework. file: [6094c2dcb5] check-in: [f9041807b3] user: mistachkin branch: virtualTables, size: 18964
2013-06-20
03:08
Fix handling of copied connection handles when calling Create and Connect virtual methods. Get initial test passing. file: [c1b20408a9] check-in: [e1bef414b7] user: mistachkin branch: virtualTables, size: 18885
2013-06-06
19:36
Support creating a SQLiteConnection instance from a pre-existing native connection handle (i.e. one that cannot be disposed). file: [4967b2a156] check-in: [b6c0bcadb3] user: mistachkin branch: virtualTables, size: 18802
2013-05-30
00:44
Add DateTimeFormatString connection string property to allow the DateTime format string used for all parsing and formatting to be overridden. Disable use of the new connection string parsing algorithm when the No_SQLiteConnectionNewParser environment variable is set. Pursuant to [bbdda6eae2]. file: [c808b0a953] check-in: [4f933521a1] user: mistachkin branch: trunk, size: 18796
2013-02-28
03:26
Fix compilation issues on the .NET Compact Framework 2.0. file: [5819b35021] check-in: [968b6f7b1c] user: mistachkin branch: trunk, size: 18790
2013-02-12
10:45
Enable use of the SQLiteLog class when running on the .NET Compact Framework. file: [042eaf3b6e] check-in: [7d84579756] user: mistachkin branch: trunk, size: 18761
2012-12-30
17:01
Bump all versions to 1.0.84.0. Update SQLite core library to the latest trunk code. Add Cancel method to the SQLiteConnection class. In the SQLiteLog.LogMessage method, clone the event handlers before invoking them to improve thread safety. file: [a44b661941] check-in: [7d572c8589] user: mistachkin branch: trunk, size: 17062
2012-09-20
02:39
Fire notification events before a connection is opened or closed. Enhance documentation comments to that include references. Workaround issue in NDoc3 to allow project reference links to be resolved correctly. file: [041ee1da75] check-in: [69f6030c7f] user: mistachkin branch: trunk, size: 16923
2012-09-11
08:05
Refactor core SQLite library return code handling to make use of the enumerated SQLiteErrorCode type. Initial work on supporting the sqlite3_errstr() API. file: [82df738c1d] check-in: [a6c16dc93b] user: mistachkin branch: trunk, size: 16890
2012-07-22
06:54
Remove all superfluous UTF-8 byte-order-marks. file: [ae966db684] check-in: [2c82e6c1a3] user: mistachkin branch: trunk, size: 14337
2012-06-05
10:50
Improve threaded handling of the delegate used by the SQLiteLog class. file: [638b24b6c1] check-in: [40ac5c62b8] user: mistachkin branch: trunk, size: 14340
2011-11-16
03:07
Never attempt to configure the native SQLite logging interface if the SQLite core library has already been initialized for the process. Fix for ticket [2ce0870fad]. file: [d469b4726f] check-in: [f48d1b0376] user: mistachkin branch: trunk, size: 14201
2011-11-14
05:40
Allow the SQLiteLog class to be used without having an open connection (i.e. and skip going through the SQLite core library to do it). file: [e4740a0dd6] check-in: [374756ec29] user: mistachkin branch: tkt-e30b820248, size: 13872
05:20
Stop simply characterizing all log messages as errors. From now on, if the errorCode is zero, the message will not be considered an error. file: [8a5abd03a2] check-in: [e6e51e382e] user: mistachkin branch: tkt-e30b820248, size: 13046
05:12
Revise and improve diagnostics for opening/closing connections and preparing/finalizing statements. file: [a6a22a6870] check-in: [40cdd9c8a0] user: mistachkin branch: tkt-e30b820248, size: 12950
2011-10-18
03:07
In the SQLiteLog.DomainUnload method, make sure to undo all things done in the SQLiteLog.Initialize method. Possible fix for ticket [98c70ac5a7]. file: [f12b00d5fe] check-in: [3303a4f55b] user: mistachkin branch: trunk, size: 12824
2011-10-09
03:19
Copy the fix for the Bind_DateTime method to the SQLite3_UTF16 class. Add DateTimeKind connection string property to control the DateTimeKind of parsed DateTime values. Add the necessary method overloads to allow the DateTimeFormat and/or DateTimeKind to be specified by external callers. Reorganize the recognized DateTime formats so that ones with more information are always tried first. Also, add variants that support a trailing timezone specifier. Centralize DateTime format handling in the unit test infrastructure via the new getDateTimeFormat procedure. Revise setupDb unit test infrastructure procedure to accept a DateTimeKind. More changes to tests for ticket [343d392b51]. file: [af3fa29419] check-in: [df7dcd3166] user: mistachkin branch: tkt-343d392b51, size: 11926
2011-10-04
08:05
Prevent the SQLiteLog.DomainUnload method from being added multiple times to the AppDomain.DomainUnload event, ticket [0d5b1ef362]. Stop trying to configure the SQLite logging interface in non-default AppDomains, ticket [ac47dd230a]. file: [a68614a19a] check-in: [3054af47e2] user: mistachkin branch: trunk, size: 11875
2011-07-21
21:46
Add comment to warn about the nature of the current fix for [b4a7ddc83f]. file: [46a8f9ce3a] check-in: [f5c5f581dc] user: mistachkin branch: trunk, size: 10070
17:18
Preliminary fix for [b4a7ddc83f], shutdown the SQLite native interface when the AppDomain is being unloaded. file: [f919620606] check-in: [1d024437e5] user: mistachkin branch: trunk, size: 9820
2011-07-11
19:43
Fix typo in comment. file: [3590ac1096] check-in: [1081102b1e] user: mistachkin branch: trunk, size: 8635
19:40
Added: Refactor the logging interface to be thread-safe and 'self-initializing'. Stop ignoring errors returned by sqlite3_config(SQLITE_CONFIG_LOG). Provide a default log handler and allow it to be added/removed dynamically. Allow logging to be temporarily enabled/disabled without modifying the underlying delegates. file: [1fa587da30] check-in: [1d955a6031] user: mistachkin branch: trunk, size: 8564