checking in the initial versions of Storage and Asset as well as some updates to other modules to make these work
This commit is contained in:
parent
9e741aff06
commit
c48831ad7b
5 changed files with 1200 additions and 18 deletions
|
|
@ -111,7 +111,7 @@ A database handler. Defaults to the WebGUI default database handler.
|
|||
|
||||
sub beginTransaction {
|
||||
my $class = shift;
|
||||
my $dbh = shift;
|
||||
my $dbh = shift || _getDefaultDb();
|
||||
$dbh->begin_work;
|
||||
}
|
||||
|
||||
|
|
@ -233,7 +233,7 @@ A database handler. Defaults to the WebGUI default database handler.
|
|||
|
||||
sub commit {
|
||||
my $class = shift;
|
||||
my $dbh = shift;
|
||||
my $dbh = shift || _getDefaultDb();
|
||||
$dbh->commit;
|
||||
}
|
||||
|
||||
|
|
@ -688,7 +688,7 @@ A database handler. Defaults to the WebGUI default database handler.
|
|||
|
||||
sub rollback {
|
||||
my $class = shift;
|
||||
my $dbh = shift;
|
||||
my $dbh = shift || _getDefaultDb();
|
||||
$dbh->rollback;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue