summaryrefslogtreecommitdiff
path: root/docs/topics
diff options
context:
space:
mode:
authorRamiro Morales <cramm0@gmail.com>2012-01-05 00:45:31 +0000
committerRamiro Morales <cramm0@gmail.com>2012-01-05 00:45:31 +0000
commit8312b85c979c8ddd314abe0a7edb6cb37fe3e3ac (patch)
tree888b276d5d3a5fa34daf7f21d404ddb3fcefed68 /docs/topics
parentbc63ba700a0ae3ba435c267789d8c2e3931016df (diff)
Added support for savepoints to the MySQL DB backend.
MySQL provides the savepoint functionality starting with version 5.0.3 when using the MyISAM storage engine. Thanks lamby for the report and patch. Fixes #15507. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17341 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/topics')
-rw-r--r--docs/topics/db/transactions.txt13
1 files changed, 8 insertions, 5 deletions
diff --git a/docs/topics/db/transactions.txt b/docs/topics/db/transactions.txt
index b2ee26d6b0..6e6754a9d8 100644
--- a/docs/topics/db/transactions.txt
+++ b/docs/topics/db/transactions.txt
@@ -225,11 +225,14 @@ transaction middleware, and only modify selected functions as needed.
Savepoints
==========
-A savepoint is a marker within a transaction that enables you to roll back
-part of a transaction, rather than the full transaction. Savepoints are
-available to the PostgreSQL 8 and Oracle backends. Other backends will
-provide the savepoint functions, but they are empty operations - they won't
-actually do anything.
+A savepoint is a marker within a transaction that enables you to roll back part
+of a transaction, rather than the full transaction. Savepoints are available to
+the PostgreSQL 8, Oracle and MySQL (version 5.0.3 and newer, when using the
+InnoDB storage engine) backends. Other backends will provide the savepoint
+functions, but they are empty operations - they won't actually do anything.
+
+.. versionchanged:: 1.4
+ Savepoint support when using the MySQL backend was added in Django 1.4
Savepoints aren't especially useful if you are using the default
``autocommit`` behavior of Django. However, if you are using