From f597b5c6869b865193342109facf9d6a53cc861e Mon Sep 17 00:00:00 2001 From: mikec Date: Tue, 9 Jun 2009 20:49:05 +0000 Subject: [PATCH] Removed an unnecessary variable. git-svn-id: svn://192.168.202.10@1148 3d104415-ff17-0410-8863-d5cf3c621b8a --- agc_2-X/trunk/bin/ADMIN_update_archive_url.pl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/agc_2-X/trunk/bin/ADMIN_update_archive_url.pl b/agc_2-X/trunk/bin/ADMIN_update_archive_url.pl index a47c41e3..035c3dd1 100644 --- a/agc_2-X/trunk/bin/ADMIN_update_archive_url.pl +++ b/agc_2-X/trunk/bin/ADMIN_update_archive_url.pl @@ -108,7 +108,7 @@ $dbhA = DBI->connect("DBI:mysql:$VARDB_database:$VARDB_server:$VARDB_port", "$VA or die "Couldn't connect to database: " . DBI->errstr; # get all the recordings with the old_url -$stmtA = "SELECT recording_id, location, filename from recording_log where location LIKE '$old_url%';"; +$stmtA = "SELECT recording_id, location from recording_log where location LIKE '$old_url%';"; if ( $DB ) { print $stmtA . "\n"; } @@ -124,7 +124,6 @@ while ($sthArows > $rec_count) { # get the parameters from the DB $rec_id = "$aryA[0]"; $location = "$aryA[1]"; - $filename = "$aryA[2]"; # change the url $new_loc = $location;