summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sql/transaction.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sql/transaction.h b/sql/transaction.h
index 210cb7f..7cf5379 100644
--- a/sql/transaction.h
+++ b/sql/transaction.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -19,6 +19,9 @@ class SQL_EXPORT Transaction {
// transaction. If you have begun a transaction and not committed it, the
// constructor will roll back the transaction. If you want to commit, you
// need to manually call Commit before this goes out of scope.
+ //
+ // Nested transactions are supported. See sql::Connection::BeginTransaction
+ // for details.
explicit Transaction(Connection* connection);
~Transaction();