Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | 1.08 |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | sourceforge |
Files: | files | file ages | folders |
SHA1: |
40c497decfe24b5178ddd60c7528b8a0 |
User & Date: | rmsimpson 2005-03-11 21:39:50.000 |
Context
2005-03-11
| ||
23:16 | 1.08 check-in: dba40334e2 user: rmsimpson tags: sourceforge | |
21:39 | 1.08 check-in: 40c497decf user: rmsimpson tags: sourceforge | |
15:03 | 3.14 code merge check-in: 1eef5ec724 user: rmsimpson tags: sourceforge | |
Changes
Changes to System.Data.SQLite/AssemblyInfo.cs.
︙ | ︙ | |||
24 25 26 27 28 29 30 | // Major Version // Minor Version // Build Number // Revision // // You can specify all the values or you can default the Revision and Build Numbers // by using the '*' as shown below: | | | 24 25 26 27 28 29 30 31 | // Major Version // Minor Version // Build Number // Revision // // You can specify all the values or you can default the Revision and Build Numbers // by using the '*' as shown below: [assembly: AssemblyVersion("1.0.8.*")] |
Changes to System.Data.SQLite/SQLiteCommandBuilder.cs.
︙ | ︙ | |||
76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 | return "?"; } #if !PLATFORM_COMPACTFRAMEWORK /// <summary> /// Obsolete /// </summary> [Obsolete] protected override DbProviderFactory ProviderFactory { get { return new SQLiteFactory(); } } | > > | 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 | return "?"; } #if !PLATFORM_COMPACTFRAMEWORK /// <summary> /// Obsolete /// </summary> #if !BETA1 [Obsolete] #endif protected override DbProviderFactory ProviderFactory { get { return new SQLiteFactory(); } } |
︙ | ︙ |
Changes to System.Data.SQLite/SQLiteConnection.cs.
︙ | ︙ | |||
106 107 108 109 110 111 112 | /// </summary> internal SQLiteBase _sql; /// <summary> /// Commands associated with this connection /// </summary> internal List<SQLiteCommand> _commandList; | | | 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 | /// </summary> internal SQLiteBase _sql; /// <summary> /// Commands associated with this connection /// </summary> internal List<SQLiteCommand> _commandList; #if !PLATFORM_COMPACTFRAMEWORK && !BETA1 /// <event/> /// <summary> /// This event is raised whenever the database is opened or closed. /// </summary> public override event StateChangeEventHandler StateChange; #endif |
︙ | ︙ | |||
165 166 167 168 169 170 171 | _sql.Execute(String.Format("ATTACH DATABASE '{0}' AS [{1}]", row[1], row[0])); } } } } } | | | 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 | _sql.Execute(String.Format("ATTACH DATABASE '{0}' AS [{1}]", row[1], row[0])); } } } } } #if PLATFORM_COMPACTFRAMEWORK && !BETA1 public override int ConnectionTimeout { get { return 30; } } |
︙ | ︙ | |||
212 213 214 215 216 217 218 | } internal void OnStateChange(ConnectionState newState) { ConnectionState oldState = _connectionState; _connectionState = newState; | | | 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 | } internal void OnStateChange(ConnectionState newState) { ConnectionState oldState = _connectionState; _connectionState = newState; #if !PLATFORM_COMPACTFRAMEWORK && !BETA1 if (StateChange != null && oldState != newState) { StateChangeEventArgs e = new StateChangeEventArgs(oldState, newState); StateChange(this, e); } #endif } |
︙ | ︙ |
Changes to System.Data.SQLite/SQLiteFunction.cs.
︙ | ︙ | |||
69 70 71 72 73 74 75 | /// be automatically freed for you (and Dispose() called if the item supports IDisposable) when the statement completes. /// </remarks> public abstract class SQLiteFunction : IDisposable { private SQLiteBase _base; private int _interopCookie; | | | | 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 | /// be automatically freed for you (and Dispose() called if the item supports IDisposable) when the statement completes. /// </remarks> public abstract class SQLiteFunction : IDisposable { private SQLiteBase _base; private int _interopCookie; #if !PLATFORM_COMPACTFRAMEWORK && !BETA1 private SortedList<int, object> _contextDataList; #else private SortedList _contextDataList; #endif private SQLiteCallback _InvokeFunc; private SQLiteCallback _StepFunc; private SQLiteCallback _FinalFunc; private SQLiteCollation _CompareFunc; /// <summary> /// This static list contains all the user-defined functions declared using the proper attributes. /// </summary> private static List<SQLiteFunctionAttribute> _registeredFunctions = new List<SQLiteFunctionAttribute>(); /// <summary> /// Internal constructor, initializes the function's internal variables. /// </summary> protected SQLiteFunction() { #if !PLATFORM_COMPACTFRAMEWORK && !BETA1 _contextDataList = new SortedList<int, object>(); #else _contextDataList = new SortedList(); #endif _InvokeFunc = null; _StepFunc = null; _FinalFunc = null; |
︙ | ︙ | |||
365 366 367 368 369 370 371 | /// </summary> public void Dispose() { Dispose(true); IDisposable disp; | | | 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 | /// </summary> public void Dispose() { Dispose(true); IDisposable disp; #if !PLATFORM_COMPACTFRAMEWORK && !BETA1 foreach (KeyValuePair<int, object> kv in _contextDataList) #else foreach (DictionaryEntry kv in _contextDataList) #endif { disp = kv.Value as IDisposable; if (disp != null) |
︙ | ︙ | |||
387 388 389 390 391 392 393 394 395 396 397 398 399 400 | _CompareFunc = null; _base = null; _contextDataList = null; GC.SuppressFinalize(this); } /// <summary> /// Using reflection, enumerate all assemblies in the current appdomain looking for classes that /// have a SQLiteFunctionAttribute attribute, and registering them accordingly. /// </summary> static SQLiteFunction() { SQLiteFunctionAttribute at; | > | 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 | _CompareFunc = null; _base = null; _contextDataList = null; GC.SuppressFinalize(this); } #if !PLATFORM_COMPACTFRAMEWORK /// <summary> /// Using reflection, enumerate all assemblies in the current appdomain looking for classes that /// have a SQLiteFunctionAttribute attribute, and registering them accordingly. /// </summary> static SQLiteFunction() { SQLiteFunctionAttribute at; |
︙ | ︙ | |||
417 418 419 420 421 422 423 | at.InstanceType = arTypes[x]; _registeredFunctions.Add(at); } } } } } | | | 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 | at.InstanceType = arTypes[x]; _registeredFunctions.Add(at); } } } } } #else /// <summary> /// Manual method of registering a function. The type must still have the SQLiteFunctionAttributes in order to work /// properly, but this is a workaround for the Compact Framework where enumerating assemblies is not currently supported. /// </summary> /// <param name="typ">The type of the function to register</param> public static void RegisterFunction(Type typ) { |
︙ | ︙ | |||
439 440 441 442 443 444 445 446 447 448 449 450 451 452 | if (at != null) { at.InstanceType = typ; _registeredFunctions.Add(at); } } } /// <summary> /// Called by SQLiteBase derived classes, this function binds all user-defined functions to a connection. /// It is done this way so that all user-defined functions will access the database using the same encoding scheme /// as the connection (UTF-8 or UTF-16). /// </summary> /// <remarks> | > | 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 | if (at != null) { at.InstanceType = typ; _registeredFunctions.Add(at); } } } #endif /// <summary> /// Called by SQLiteBase derived classes, this function binds all user-defined functions to a connection. /// It is done this way so that all user-defined functions will access the database using the same encoding scheme /// as the connection (UTF-8 or UTF-16). /// </summary> /// <remarks> |
︙ | ︙ |
Changes to System.Data.SQLite/SQLiteParameterCollection.cs.
︙ | ︙ | |||
225 226 227 228 229 230 231 | /// /// </summary> public override int Count { get { return _parameterList.Count; } } | | | 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 | /// /// </summary> public override int Count { get { return _parameterList.Count; } } #if !PLATFORM_COMPACTFRAMEWORK && !BETA1 /// <summary> /// /// </summary> /// <param name="parameterName"></param> /// <returns></returns> protected override DbParameter GetParameter(string parameterName) { |
︙ | ︙ | |||
312 313 314 315 316 317 318 | /// <param name="index"></param> public override void RemoveAt(int index) { _unboundFlag = true; _parameterList.RemoveAt(index); } | | | 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 | /// <param name="index"></param> public override void RemoveAt(int index) { _unboundFlag = true; _parameterList.RemoveAt(index); } #if !PLATFORM_COMPACTFRAMEWORK && !BETA1 /// <summary> /// /// </summary> /// <param name="parameterName"></param> /// <param name="value"></param> protected override void SetParameter(string parameterName, DbParameter value) { |
︙ | ︙ |
Changes to bin/SQLite.Interop.dll.
cannot compute difference between binary files
Changes to bin/System.Data.SQLite.dll.
cannot compute difference between binary files
Changes to bin/test.exe.
cannot compute difference between binary files