X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDBIx%2FClass%2FDB.pm;h=469d051c635ad4319c9e7f0468d5e2002d6b3aaa;hb=958bcea5fcf02c0c13e934dd03103d8421dcc144;hp=08282df3c483f84ca9c07b61052990816633b183;hpb=1385b8e4e4aaf3f80210441bba5992756e56ae44;p=dbsrgits%2FDBIx-Class.git diff --git a/lib/DBIx/Class/DB.pm b/lib/DBIx/Class/DB.pm index 08282df..469d051 100644 --- a/lib/DBIx/Class/DB.pm +++ b/lib/DBIx/Class/DB.pm @@ -24,7 +24,7 @@ DBIx::Class::DB - Simple DBIx::Class Database connection by class inheritance package MyDB::MyTable; use base qw/MyDB/; - __PACKAGE__->load_components('Core'); + __PACKAGE__->load_components('Core'); # just load this in MyDB if it will always be there ... @@ -72,7 +72,7 @@ Begins a transaction (does nothing if AutoCommit is off). =cut -sub tx_commit { $_[0]->storage->tx_begin } +sub tx_begin { $_[0]->storage->tx_begin } =head2 tx_commit