Diff for /loncom/metadata_database/cleanup_database.pl between versions 1.6 and 1.7

version 1.6, 2006/08/21 21:30:02 version 1.7, 2006/11/20 17:07:57
Line 119  unless ($dbh = DBI->connect("DBI:mysql:l Line 119  unless ($dbh = DBI->connect("DBI:mysql:l
   
 my $sth = $dbh->prepare("SHOW TABLE STATUS");  my $sth = $dbh->prepare("SHOW TABLE STATUS");
 $sth->execute();  $sth->execute();
 my $results = $sth->fetchall_hashref(['Name']);  my $results = $sth->fetchall_hashref('Name');
   
 foreach my $name (keys(%$results)) {  foreach my $name (keys(%$results)) {
     next if ($results->{$name}{Comment} ne 'temporary');       next if ($results->{$name}{Comment} ne 'temporary'); 

Removed from v.1.6  
changed lines
  Added in v.1.7


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>