From 3200c9792d41a6a7a5edea7747fd613fae609798 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Sat, 19 Feb 2005 14:07:14 +0000 Subject: [PATCH] Clear active rounds on changing active tournament. --- html/do-set-active-tournament.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/html/do-set-active-tournament.pl b/html/do-set-active-tournament.pl index 297cc6c..4405e42 100755 --- a/html/do-set-active-tournament.pl +++ b/html/do-set-active-tournament.pl @@ -10,6 +10,7 @@ my $cgi = new CGI; my $tournament = $cgi->param('tournament'); $dbh->{AutoCommit} = 0; +$dbh->do('DELETE FROM bigscreen.active_rounds'); $dbh->do('DELETE FROM bigscreen.active_tournament'); if ($tournament != -1) { $dbh->do('INSERT INTO bigscreen.active_tournament VALUES (?)', undef, $tournament); -- 2.39.2