[Koha-patches] [PATCH 52/92] Added missing drop table lines (labels_batches & labels_layouts)
Henri-Damien LAURENT
henridamien.laurent at biblibre.com
Tue Dec 22 01:20:45 CET 2009
From: Piotr Wejman <ropuch at bagno.be>
---
installer/data/mysql/labels_upgrade.pl | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/installer/data/mysql/labels_upgrade.pl b/installer/data/mysql/labels_upgrade.pl
index 15d9b19..50e8bb5 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";
--
1.6.3.3
More information about the Koha-patches
mailing list