From: Tim Bunce Date: Tue, 16 Jun 2009 13:14:23 +0000 (+0000) Subject: Added doc note that txn_commit does not perform an actual storage commit unless X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=be01f1be2db37aa534cb95705dc36bf564ca05f0;p=dbsrgits%2FDBIx-Class-Historic.git Added doc note that txn_commit does not perform an actual storage commit unless there's a DBIx::Class transaction currently in effect --- diff --git a/lib/DBIx/Class/Storage.pm b/lib/DBIx/Class/Storage.pm index 941dc07..799a6af 100644 --- a/lib/DBIx/Class/Storage.pm +++ b/lib/DBIx/Class/Storage.pm @@ -242,6 +242,9 @@ sub txn_begin { die "Virtual method!" } Issues a commit of the current transaction. +It does I perform an actual storage commit unless there's a DBIx::Class +transaction currently in effect (i.e. you called L). + =cut sub txn_commit { die "Virtual method!" }