[LON-CAPA-cvs] cvs: loncom /metadata_database cleanup_database.pl

albertel lon-capa-cvs@mail.lon-capa.org
Mon, 21 Aug 2006 21:30:05 -0000


albertel		Mon Aug 21 17:30:05 2006 EDT

  Modified files:              
    /loncom/metadata_database	cleanup_database.pl 
  Log:
  - eliminate warning message
  
  
Index: loncom/metadata_database/cleanup_database.pl
diff -u loncom/metadata_database/cleanup_database.pl:1.5 loncom/metadata_database/cleanup_database.pl:1.6
--- loncom/metadata_database/cleanup_database.pl:1.5	Thu Aug 10 16:07:01 2006
+++ loncom/metadata_database/cleanup_database.pl	Mon Aug 21 17:30:02 2006
@@ -2,7 +2,7 @@
 # The LearningOnline Network
 # cleanup_database.pl Remove stale temporary search results.
 #
-# $Id: cleanup_database.pl,v 1.5 2006/08/10 20:07:01 albertel Exp $
+# $Id: cleanup_database.pl,v 1.6 2006/08/21 21:30:02 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -132,6 +132,7 @@
         $dbh->do('DROP TABLE '.$name);
     }
 }
+$sth->finish();
 
 # --------------------------------------------------- Close database connection
 $dbh->disconnect;