Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Change the type of all '_version' fields to simply 'int' instead of 'long', which will hopefully result in a small speed increase. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | experimental |
Files: | files | file ages | folders |
SHA1: |
ffbc71c72b08fd30e2e2705a064a88a7 |
User & Date: | mistachkin 2014-09-26 04:01:58.671 |
Context
2014-09-30
| ||
14:03 | More minor performance enhancements. Pursuant to [e122d26e70]. check-in: 684f381cd4 user: mistachkin tags: experimental | |
2014-09-26
| ||
04:01 | Change the type of all '_version' fields to simply 'int' instead of 'long', which will hopefully result in a small speed increase. check-in: ffbc71c72b user: mistachkin tags: experimental | |
03:31 | Merge updates from trunk. check-in: c8e5b7d893 user: mistachkin tags: experimental | |
Changes
Changes to System.Data.SQLite/SQLiteCommand.cs.
︙ | ︙ | |||
38 39 40 41 42 43 44 | /// <summary> /// The connection the command is associated with /// </summary> private SQLiteConnection _cnn; /// <summary> /// The version of the connection the command is associated with /// </summary> | | | 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 | /// <summary> /// The connection the command is associated with /// </summary> private SQLiteConnection _cnn; /// <summary> /// The version of the connection the command is associated with /// </summary> private int _version; /// <summary> /// Indicates whether or not a DataReader is active on the command. /// </summary> private WeakReference _activeReader; /// <summary> /// The timeout for the command, kludged because SQLite doesn't support per-command timeout values /// </summary> |
︙ | ︙ |
Changes to System.Data.SQLite/SQLiteConnection.cs.
︙ | ︙ | |||
516 517 518 519 520 521 522 | /// Non-zero if the built-in (i.e. framework provided) connection string /// parser should be used when opening the connection. /// </summary> private bool _parseViaFramework; internal bool _binaryGuid; | | | 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 | /// Non-zero if the built-in (i.e. framework provided) connection string /// parser should be used when opening the connection. /// </summary> private bool _parseViaFramework; internal bool _binaryGuid; internal int _version; private event SQLiteAuthorizerEventHandler _authorizerHandler; private event SQLiteUpdateEventHandler _updateHandler; private event SQLiteCommitHandler _commitHandler; private event SQLiteTraceEventHandler _traceHandler; private event EventHandler _rollbackHandler; |
︙ | ︙ |
Changes to System.Data.SQLite/SQLiteDataReader.cs.
︙ | ︙ | |||
84 85 86 87 88 89 90 | /// An array of rowid's for the active statement if CommandBehavior.KeyInfo is specified /// </summary> private SQLiteKeyReader _keyInfo; /// <summary> /// Matches the version of the connection. /// </summary> | | | 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 | /// An array of rowid's for the active statement if CommandBehavior.KeyInfo is specified /// </summary> private SQLiteKeyReader _keyInfo; /// <summary> /// Matches the version of the connection. /// </summary> internal int _version; /// <summary> /// The "stub" (i.e. placeholder) base schema name to use when returning /// column schema information. Matches the base schema name used by the /// associated connection. /// </summary> private string _baseSchemaName; |
︙ | ︙ |
Changes to System.Data.SQLite/SQLiteTransaction.cs.
︙ | ︙ | |||
17 18 19 20 21 22 23 | /// </summary> public sealed class SQLiteTransaction : DbTransaction { /// <summary> /// The connection to which this transaction is bound /// </summary> internal SQLiteConnection _cnn; | | | 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | /// </summary> public sealed class SQLiteTransaction : DbTransaction { /// <summary> /// The connection to which this transaction is bound /// </summary> internal SQLiteConnection _cnn; internal int _version; // Matches the version of the connection private IsolationLevel _level; /// <summary> /// Constructs the transaction object, binding it to the supplied connection /// </summary> /// <param name="connection">The connection to open a transaction on</param> /// <param name="deferredLock">TRUE to defer the writelock, or FALSE to lock immediately</param> |
︙ | ︙ |