From c5ddaf5d5fb2bb98a9895a71c51ca902032e6106 Mon Sep 17 00:00:00 2001 From: Piotr Wejman Date: Wed, 9 Dec 2009 21:27:22 +0100 Subject: [PATCH] Added missing drop table lines (labels_batches & labels_layouts) --- installer/data/mysql/labels_upgrade.pl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/installer/data/mysql/labels_upgrade.pl b/installer/data/mysql/labels_upgrade.pl index 15d9b19948..50e8bb58d2 100644 --- a/installer/data/mysql/labels_upgrade.pl +++ b/installer/data/mysql/labels_upgrade.pl @@ -161,7 +161,9 @@ while (my $template = $sth3->fetchrow_hashref()) { # Drop old tables.... $sth->do("DROP TABLE IF EXISTS labels;") or die "DB ERROR: " . $sth->errstr . "\n"; +$sth->do("DROP TABLE IF EXISTS labels_batches;") or die "DB ERROR: " . $sth->errstr . "\n"; $sth->do("DROP TABLE IF EXISTS labels_conf;") or die "DB ERROR: " . $sth->errstr . "\n"; +$sth->do("DROP TABLE IF EXISTS labels_layouts;") or die "DB ERROR: " . $sth->errstr . "\n"; $sth->do("DROP TABLE IF EXISTS labels_profile;") or die "DB ERROR: " . $sth->errstr . "\n"; $sth->do("DROP TABLE IF EXISTS labels_templates;") or die "DB ERROR: " . $sth->errstr . "\n"; $sth->do("DROP TABLE IF EXISTS printers_profile;") or die "DB ERROR: " . $sth->errstr . "\n"; -- 2.39.5