[Bast-commits] r6690 - DBIx-Class/0.08/trunk/lib/DBIx/Class

timbunce at dev.catalyst.perl.org timbunce at dev.catalyst.perl.org
Tue Jun 16 13:14:24 GMT 2009


Author: timbunce
Date: 2009-06-16 13:14:23 +0000 (Tue, 16 Jun 2009)
New Revision: 6690

Modified:
   DBIx-Class/0.08/trunk/lib/DBIx/Class/Storage.pm
Log:
Added doc note that txn_commit does not perform an actual storage commit unless 
there's a DBIx::Class transaction currently in effect


Modified: DBIx-Class/0.08/trunk/lib/DBIx/Class/Storage.pm
===================================================================
--- DBIx-Class/0.08/trunk/lib/DBIx/Class/Storage.pm	2009-06-16 13:06:07 UTC (rev 6689)
+++ DBIx-Class/0.08/trunk/lib/DBIx/Class/Storage.pm	2009-06-16 13:14:23 UTC (rev 6690)
@@ -242,6 +242,9 @@
 
 Issues a commit of the current transaction.
 
+It does I<not> perform an actual storage commit unless there's a DBIx::Class
+transaction currently in effect (i.e. you called L</txn_begin>).
+
 =cut
 
 sub txn_commit { die "Virtual method!" }




More information about the Bast-commits mailing list