Revision d639b4fc
Von Moritz Bunkus vor fast 14 Jahren hinzugefügt
SL/TransNumber.pm | ||
---|---|---|
105 | 105 |
my $form = $main::form; |
106 | 106 |
my %filters = $self->_get_filters(); |
107 | 107 |
|
108 |
$self->dbh->begin_work; |
|
108 |
$self->dbh->begin_work if $self->dbh->{AutoCommit};
|
|
109 | 109 |
do_query($form, $self->dbh, qq|LOCK TABLE defaults|); |
110 | 110 |
do_query($form, $self->dbh, qq|LOCK TABLE business|) if $self->business_id; |
111 | 111 |
|
Auch abrufbar als: Unified diff
Nur dann Transaktion starten, wenn noch keine läuft