From: Sven Schöling Date: Mon, 18 Aug 2014 09:49:44 +0000 (+0200) Subject: PgUpgrade: nicht während eines Upgrades commiten X-Git-Tag: release-3.2.0beta~350 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=1a251b1998dc46dbe0bb6425cb0d7c7c8ad9ae18;p=kivitendo-erp.git PgUpgrade: nicht während eines Upgrades commiten --- diff --git a/sql/Pg-upgrade2/taxzone_sortkey.pl b/sql/Pg-upgrade2/taxzone_sortkey.pl index 88897d7af..7b1c4ce3e 100644 --- a/sql/Pg-upgrade2/taxzone_sortkey.pl +++ b/sql/Pg-upgrade2/taxzone_sortkey.pl @@ -15,7 +15,6 @@ sub run { my $query = qq|ALTER TABLE tax_zones ADD COLUMN sortkey INTEGER|; $self->db_query($query); - $self->dbh->commit; my $sortkey = 1; $query = qq|SELECT * FROM tax_zones ORDER BY id|; @@ -29,8 +28,6 @@ sub run { } $sth->finish; - $self->dbh->commit; - $query = qq|ALTER TABLE tax_zones ALTER COLUMN sortkey SET NOT NULL|; $self->db_query($query);