System.Data.SQLite

Check-in [6331a7209e]
Login

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

Overview
Comment:Disallow nested transactions by default.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 6331a7209ec2a304dc225d52befe80ce34287a3e
User & Date: mistachkin 2016-11-04 00:26:16.918
References
2016-11-08
18:55
Back out the change in [6331a7209e] as one of the legacy tests depends on its previous behavior. check-in: 470cbf3de9 user: mistachkin tags: trunk
Context
2016-11-04
20:19
Update SQLite core library to the 3.15.1 release. check-in: 58e5128d4c user: mistachkin tags: trunk
02:00
Add 'AllowNestedTransactions' connection flag to enable nested transactions. check-in: ffd3c1b1d8 user: mistachkin tags: tkt-1f7bfff467
00:26
Disallow nested transactions by default. check-in: 6331a7209e user: mistachkin tags: trunk
00:20
Make the SQLiteTransaction.IssueRollback method private. check-in: d3ee02a73a user: mistachkin tags: trunk
Changes
Side-by-Side Diff Ignore Whitespace Patch
Changes to System.Data.SQLite/SQLiteTransaction.cs.
68
69
70
71
72
73
74




75
76
77
78
79
80
81
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85







+
+
+
+







                {
                    _cnn._transactionLevel--;
                    _cnn = null;

                    throw;
                }
            }
            else
            {
                throw new SQLiteException("Transaction is already active on this connection");
            }
        }

        ///////////////////////////////////////////////////////////////////////////////////////////////

        #region IDisposable "Pattern" Members
        private bool disposed;
        private void CheckDisposed() /* throw */