System.Data.SQLite
File History
Not logged in

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

History of System.Data.SQLite/SQLiteModule.cs

2018-08-07
00:06
Fix issue with P/Invoke portability to Windows CE by wrapping sqlite3_msize() on that platform. Enhance tests. file: [684226b6df] check-in: [54ebb78b16] user: mistachkin branch: preRelease, size: 313597
2018-03-08
20:50
Internal enhancements to the native memory allocation wrapper. file: [82ec6b859d] check-in: [fcac33cc7a] user: mistachkin branch: trunk, size: 313295
2018-01-30
18:37
Compilation fixes for the .NET Compact Framework. file: [86ac0b0edb] check-in: [e637ca41cf] user: mistachkin branch: trunk, size: 304487
2018-01-15
19:22
In SetTableError, avoid logging null virtual table error messages. file: [8d7d9d061d] check-in: [2de277f554] user: mistachkin branch: trunk, size: 304371
18:18
Correct and enhance the alignment diagnostics added by check-in [0621d7037c]. file: [10e2193506] check-in: [7ca42fb6c0] user: mistachkin branch: trunk, size: 304352
2018-01-12
19:37
Add some pointer/offset alignment checking to the managed virtual table subsystem. file: [4c1468dac6] check-in: [0621d7037c] user: mistachkin branch: trunk, size: 304111
2017-11-07
03:38
Update a doc comment. file: [3323e513d8] check-in: [67190e9b52] user: mistachkin branch: trunk, size: 302304
03:33
Fix an incorrect memory allocation count in the SQLiteIndex class for SQLite memory freed without using the SQLiteMemory class. Only debug builds with TRACK_MEMORY_BYTES defined were impacted. file: [1532c848d3] check-in: [52d29df7aa] user: mistachkin branch: trunk, size: 302176
01:42
Fix incorrect memory allocation counts in the SQLiteSession class for SQLite memory obtained without using the SQLiteMemory class. Only debug builds with TRACK_MEMORY_BYTES defined were impacted. file: [865579f9ca] check-in: [395909320d] user: mistachkin branch: trunk, size: 298416
2017-10-27
03:36
Pickup and integrate the SQLite core library 3.21.0 docs from upstream. file: [f190774849] check-in: [87a4f65f05] user: mistachkin branch: trunk, size: 297316
2017-10-10
21:41
Merge updates from trunk. file: [a0589017c7] check-in: [0b70bd2e0e] user: mistachkin branch: sessions, size: 296673
21:40
Refactor how logging flags and exception handling are performed. file: [31daba7c47] check-in: [6fbb8f60e9] user: mistachkin branch: trunk, size: 292654
2017-10-06
23:07
Add GetObject method to the SQLiteValue class for use in testing and debugging. file: [9303093452] check-in: [756bbf5fcb] user: mistachkin branch: sessions, size: 296656
21:44
Add the SQLiteConnectionLock base class and use it from the classes that need to hold onto a native database connection handle. file: [511027a792] check-in: [91d210a6ca] user: mistachkin branch: sessions, size: 295143
2017-10-05
21:47
Yet more work in progress. file: [68224e3343] check-in: [537da806d2] user: mistachkin branch: sessions, size: 294223
19:28
More work in progress. file: [24297380f4] check-in: [ef2192f132] user: mistachkin branch: sessions, size: 293446
2017-01-27
20:33
In the SQLiteIndex.FreeNative method, zero out pointers to the freed memory blocks. file: [47f5dabf16] check-in: [72929d612b] user: mistachkin branch: trunk, size: 292637
2016-06-28
17:19
Add the new constraint operators. Fix for ticket [47182b7f82]. file: [e9600975df] check-in: [349fd3a23e] user: mistachkin branch: trunk, size: 292172
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: [6e94a36779] check-in: [d3e312825a] user: mistachkin branch: trunk, size: 291799
2015-12-04
21:08
Slightly simplify using statements when compiled for the .NET Compact Framework. file: [a29f59ae2f] check-in: [3c7977f4b3] user: mistachkin branch: trunk, size: 291841
20:05
Enhance new vtab test. Style and naming tweaks. file: [570ff4b544] check-in: [605ba3f2e2] user: mistachkin branch: vtabFixes, size: 291797
06:35
Move test-only private methods to their own region within the SQLiteIndex class. file: [fe10867ae1] check-in: [99625b3b90] user: mistachkin branch: vtabFixes, size: 291785
06:31
Style and naming fixes. file: [c62e8573c0] check-in: [88219678e3] user: mistachkin branch: vtabFixes, size: 291790
06:20
Fix compilation on the .NET Compact Framework. file: [9c7a25c600] check-in: [68ef61f0fa] user: mistachkin branch: vtabFixes, size: 291768
06:14
More fixes to the optional field handling for the virtual table interface. file: [68c6702bfe] check-in: [496499d755] user: mistachkin branch: vtabFixes, size: 291738
2015-12-02
05:40
Be sure to increment the structure offset to account for optional sqlite3_index_info members. file: [b409e1473d] check-in: [189db19efc] user: mistachkin branch: trunk, size: 274477
05:34
Support the colUsed field to the sqlite3_index_info structure passed to virtual table xBestIndex methods. file: [d9f85e433f] check-in: [5e37af01d9] user: mistachkin branch: trunk, size: 274162
2015-10-18
00:18
Move the ISQLiteNativeModule interface to its own file. file: [6632ad0a80] check-in: [b233d0f72d] user: mistachkin branch: trunk, size: 272001
2015-10-12
17:03
Update SQLite core library to the latest trunk code (again). file: [67abc3e1ad] check-in: [cab3f2d032] user: mistachkin branch: trunk, size: 328628
2015-10-07
17:31
Add and improve comments. file: [69edc31b77] check-in: [15da7aee54] user: mistachkin branch: trunk, size: 328629
2015-10-06
00:40
Adjust naming for things related to the new xBestIndex idxFlags field for consistency. file: [d253ccae51] check-in: [72714fd613] user: mistachkin branch: trunk, size: 328312
2015-09-29
16:58
Changes to support the 'vtab-onepass' functionality in the SQLite core library. file: [65f7be6a44] check-in: [80d9c54709] user: mistachkin branch: trunk, size: 328303
2015-09-28
20:19
Managed only changes to support the SQLite core library 'vtab-onepass' branch. file: [f184110d3b] check-in: [0f9de2621e] user: mistachkin branch: vtab-onepass, size: 328240
2015-08-12
22:32
Some CultureInfo fixes for String.Format. file: [e0435a92b7] check-in: [5c8311fbd4] user: mistachkin branch: trunk, size: 324737
22:21
Add some workarounds to allow the core managed assembly to work on Mono 4.0. file: [0a9ba9d1dd] check-in: [e7803b3ae7] user: mistachkin branch: trunk, size: 324735
2015-01-22
22:39
Correct marshalling of strings and blobs in the SQLiteValue class. Fix for [85b824b736]. file: [310e0b52c6] check-in: [c68ac18fb4] user: mistachkin branch: trunk, size: 324419
18:35
Make sure SQLiteIndexOutputs.ConstraintUsages instances are created prior to calling ISQLiteManagedModule.BestIndex. Fix for [56f511d268]. file: [8ef56ae6ba] check-in: [c927246f90] user: mistachkin branch: trunk, size: 323988
2014-06-27
04:49
The interop assembly methods should use 'ref' parameters, not 'out' parameters, since the native interop methods are not actually guaranteed to set output parameters to well-defined values. Also, add more parameter validation to the interop assembly, paying special attention to output parameters, especially optional ones. Pursuant to [3b43ffdbd7]. file: [ea3ebd353d] check-in: [26a20dd470] user: mistachkin branch: interopParams, size: 323367
2014-02-07
02:39
Prevent the SetTableError virtual table helper method from throwing exceptions. file: [aec5a8f370] check-in: [04900b82e0] user: mistachkin branch: trunk, size: 323357
2014-02-05
20:26
Improve use of object hash codes by the SQLiteModuleEnumerable class. Clarify via comments that methods of the SQLiteNativeModule class are exempt from using CheckDisposed. file: [ede20f1773] check-in: [5a605c351d] user: mistachkin branch: trunk, size: 320931
2013-11-11
20:41
Update SQLite to the latest trunk code. Add managed virtual table support for the estimatedRows field. file: [cfe7b5d722] check-in: [dfa2a55bad] user: mistachkin branch: win32heap, size: 317548
2013-08-05
21:52
Fix an issue that can occur during the disposal of a managed virtual table object instance. file: [241fe84d9b] check-in: [574f754156] user: mistachkin branch: trunk, size: 313678
2013-07-18
07:33
Add doc comments for two class summaries. file: [822c70f30e] check-in: [fcdd83c074] user: mistachkin branch: trunk, size: 311942
2013-07-17
20:55
Another comment fix. file: [f68128ce53] check-in: [23091b23c4] user: mistachkin branch: trunk, size: 311310
20:43
Make the SQLiteModuleEnumerable.GetRowIdFromObject method return unique values within the context of the current cursor. file: [718641123e] check-in: [a3c636157e] user: mistachkin branch: trunk, size: 311330
10:03
Add Index property and BestIndex method to the SQLiteVirtualTable class. Make the EstimatedCost property of the SQLiteIndexOutputs class nullable. Refactor BestIndex handling performed by the SQLiteModuleEnumerable class. file: [90a415caef] check-in: [dd7bbf3a2c] user: mistachkin branch: trunk, size: 309476
2013-07-16
02:25
Revise field offset handling in the virtual table marshalling code to deal with structure packing on 64-bit operating systems. file: [63e8909c77] check-in: [e9136a6d37] user: mistachkin branch: trunk, size: 307949
2013-07-15
20:10
Fix marshalling of the sqlite3_index_info.estimatedCost field on 32-bit operating systems. file: [9b62006973] check-in: [1e9d3b0b00] user: mistachkin branch: trunk, size: 305865
07:00
Fix typo. file: [e285aee848] check-in: [c365a97aa9] user: mistachkin branch: marshalFixes, size: 305756
05:16
Modify classes implementing the IDisposable pattern to set the disposed flag after their base classes have been disposed. file: [e7938655d2] check-in: [db3a299625] user: mistachkin branch: marshalFixes, size: 305756
03:57
Virtual table marshalling fixes. file: [ed189fdb46] check-in: [e7b11da35f] user: mistachkin branch: marshalFixes, size: 305616
2013-07-11
15:49
Add GetSqlForDeclareTable method to the SQLiteModuleEnumerable class to allow derived classes to override the SQL statement used to declare the virtual table schema. file: [6fb8017045] check-in: [a3798d45f4] user: mistachkin branch: trunk, size: 300863
2013-07-05
22:44
Also move the static SQLiteIndex marshalling methods into the SQLiteIndex class itself. file: [f5d1615ee3] check-in: [82d24cdca3] user: mistachkin branch: trunk, size: 300612
22:36
Move the static SQLiteValue marshalling method into the SQLiteValue class itself. file: [28944cf13f] check-in: [bd1c5de6ec] user: mistachkin branch: trunk, size: 300167
01:31
For the xCreate/xConnect/xDisconnect/xDestroy methods of the SQLiteModule class, refactor out the common code into private methods. Changes to comments. file: [4be69984a0] check-in: [9e6f8b4fca] user: mistachkin branch: trunk, size: 300183
2013-07-03
03:59
When compiled with SQLITE_STANDARD and TRACK_MEMORY_BYTES, check if the pointer is valid prior to returning 1. file: [c507441aee] check-in: [6669e5169f] user: mistachkin branch: trunk, size: 299514
00:38
When compiled with SQLITE_STANDARD and TRACK_MEMORY_BYTES, the SQLiteMemory class should track the number of allocations, not sizes in bytes. file: [64db217f4b] check-in: [d79035292c] user: mistachkin branch: trunk, size: 299352
00:31
Fix typo. Add private CopyNativeModule method for future use. file: [d690998a18] check-in: [3a36c22148] user: mistachkin branch: trunk, size: 299251
2013-07-02
07:18
Re-organize the code region for the private static helper methods of the SQLiteModule class. file: [82a04ae639] check-in: [7bc24ee762] user: mistachkin branch: trunk, size: 295037
2013-07-01
18:22
In the SQLiteFunction class, check if the database connection is open prior to attempting to call the Cancel method. Add NoFunctions connection flag to skip binding functions registered in the application domain. Fixes and adjustments to comments. Add several data-types for compatibility purposes. Fix for [fe50b8c2e8]. file: [96a2778d25] check-in: [dff9a878dd] user: mistachkin branch: trunk, size: 295037
10:16
Allow virtual tables implemented in managed code to implement functions. file: [15517bb4b7] check-in: [3e1da60858] user: mistachkin branch: trunk, size: 293967
2013-06-26
04:23
Add generic variants of the SQLiteModuleEnumerable and SQLiteVirtualTableCursorEnumerator classes. file: [8ed5c279e5] check-in: [7da399e402] user: mistachkin branch: trunk, size: 290932
2013-06-25
19:49
Modify native argument marshalling so that it will work properly on the .NET Compact Framework. file: [2e7c3c4d75] check-in: [9946328e41] user: mistachkin branch: virtualTables, size: 290921
11:55
First attempt at making virtual table support work on the .NET Compact Framework. file: [a69777d181] check-in: [78e8297a83] user: mistachkin branch: virtualTables, size: 289795
09:53
When marshalling from/to the SQLiteIndex class, only marshal data members of the needed direction. The SQLiteVirtualTableCursorEnumerable class should implement the IDisposable pattern. More work on docs. file: [6bc670c5ef] check-in: [c6a8523c45] user: mistachkin branch: virtualTables, size: 287464
08:24
Move byte array handling methods to the SQLiteBytes class. Remove superfluous ValueArrayFromSizeAndIntPtr method from the SQLiteMarshal class. More work on docs. file: [400d766fc0] check-in: [75dd5c847a] user: mistachkin branch: virtualTables, size: 288085
07:44
Document the SQLiteString class. In the SQLiteString.ProbeForUtf8ByteLength method, make sure the limit is greater than zero. file: [e5ac465cf6] check-in: [3fbdd30433] user: mistachkin branch: virtualTables, size: 283205
06:58
Document the SQLiteMemory class. file: [a62e857918] check-in: [3b2c842774] user: mistachkin branch: virtualTables, size: 279051
06:40
More work on docs. file: [4c0d235881] check-in: [f31a811fbb] user: mistachkin branch: virtualTables, size: 276785
04:17
Add SQLiteNativeModule class. Revise table/cursor error handling methods of the SQLiteModule class to add the static variants of them. Rename the old CreateNativeModuleImpl method to GetNativeModuleImpl. Add new CreateNativeModuleImpl method that returns the default ISQLiteNativeModule implementation. More work on docs. file: [8c019e5d08] check-in: [c6554ef4c6] user: mistachkin branch: virtualTables, size: 227701
02:06
Modify marshalling for the xUpdate method. More work on docs. file: [f90d0ce5c8] check-in: [7825b411c7] user: mistachkin branch: virtualTables, size: 179682
01:25
Fix several compilation errors and warnings. More work in progress on docs. file: [ac4a68b4a9] check-in: [d0f5ab8e16] user: mistachkin branch: virtualTables, size: 171718
2013-06-24
22:49
The SQLiteValue and SQLiteContext classes should implement the ISQLiteNativeHandle interface. Work in progress on documentation for the virtual tables support classes. file: [5d54bf5a6b] check-in: [c8d209d5f4] user: mistachkin branch: virtualTables, size: 123438
2013-06-22
20:04
Modify virtual methods for index estimated cost handling. file: [d8d15637ed] check-in: [c1d2964281] user: mistachkin branch: virtualTables, size: 107559
01:35
Make the error codes used with the SQLiteException class consistent. Throw an exception if the SQLite3.Open method is called when already open. file: [1df01d9c8f] check-in: [7aae5042f8] user: mistachkin branch: virtualTables, size: 107268
2013-06-21
18:13
Correct vtable related maximum memory allocation calculation. Also, always use a lock statement for better portability to the .NET Compact Framework. file: [8c09d4a106] check-in: [33eaa98450] user: mistachkin branch: virtualTables, size: 107290
07:23
Remove unused GetNativeModule method. file: [cf6c3d285e] check-in: [e550e1282e] user: mistachkin branch: virtualTables, size: 107618
07:21
Rename the SQLiteModuleBase class to SQLiteModule. file: [5666d8ffb9] check-in: [f0ccb3cd64] user: mistachkin branch: virtualTables, size: 107830 Renamed from System.Data.SQLite/SQLiteModuleBase.cs
2013-06-03
01:57
Initial phase of experimental support for implementing virtual tables in managed code. No docs, no tests, does not work yet, and may not even compile. file: [4f31c530e6] check-in: [273b0c601f] user: mistachkin branch: virtualTables, size: 4955 Added