Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Draft changes to address ticket [1f7bfff467]. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | tkt-1f7bfff467 |
Files: | files | file ages | folders |
SHA1: |
0b11868e929386ddc0aed1051ce7d505 |
User & Date: | mistachkin 2016-10-27 20:42:22.470 |
Context
2016-10-28
| ||
20:09 | Use savepoints to implement nested transaction support. check-in: 712e256f4f user: mistachkin tags: tkt-1f7bfff467 | |
2016-10-27
| ||
20:42 | Draft changes to address ticket [1f7bfff467]. check-in: 0b11868e92 user: mistachkin tags: tkt-1f7bfff467 | |
20:19 | Bump version to 1.0.104.0. Update version history docs. Prevent the GetByte, GetChar, and GetInt16 methods of the SQLiteDataReader class from throwing exceptions for large integer values. Pursuant to [5535448538]. check-in: 2b70123e05 user: mistachkin tags: trunk | |
Changes
Changes to System.Data.SQLite/SQLiteTransaction.cs.
︙ | ︙ | |||
173 174 175 176 177 178 179 | internal void IssueRollback(bool throwError) { SQLiteConnection cnn = Interlocked.Exchange(ref _cnn, null); if (cnn != null) { | > > | | | | | | | | | | | | | | > > > > > > > > | 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 | internal void IssueRollback(bool throwError) { SQLiteConnection cnn = Interlocked.Exchange(ref _cnn, null); if (cnn != null) { if (_cnn._transactionLevel - 1 == 0) { try { using (SQLiteCommand cmd = cnn.CreateCommand()) { cmd.CommandText = "ROLLBACK"; cmd.ExecuteNonQuery(); } } catch { if (throwError) throw; } cnn._transactionLevel--; } else { cnn._transactionLevel--; if (throwError) throw new SQLiteException("Cannot rollback a nested transaction"); } } } internal bool IsValid(bool throwError) { if (_cnn == null) { |
︙ | ︙ |