[Koha-cvs] CVS: koha/updater updatedatabase2.pl,1.4.2.1,1.4.2.2

Andrew Arensburger arensb at users.sourceforge.net
Sat Oct 5 08:19:08 CEST 2002


Update of /cvsroot/koha/koha/updater
In directory usw-pr-cvs1:/tmp/cvs-serv1998

Modified Files:
      Tag: arensb-context
	updatedatabase2.pl 
Log Message:
Added a whole mess of FIXME comments.


Index: updatedatabase2.pl
===================================================================
RCS file: /cvsroot/koha/koha/updater/updatedatabase2.pl,v
retrieving revision 1.4.2.1
retrieving revision 1.4.2.2
diff -C2 -r1.4.2.1 -r1.4.2.2
*** updatedatabase2.pl	4 Oct 2002 02:46:12 -0000	1.4.2.1
--- updatedatabase2.pl	5 Oct 2002 06:19:06 -0000	1.4.2.2
***************
*** 40,44 ****
  sub droptable {
  	my ($dbh,$tablename)=@_;
! 	if ($tables{$tablename}) {
  		print "     - $tablename...\n";
  		my $sti=$dbh->prepare("DROP TABLE $tablename");
--- 40,44 ----
  sub droptable {
  	my ($dbh,$tablename)=@_;
! 	if ($tables{$tablename}) {	# FIXME - $tables undefined
  		print "     - $tablename...\n";
  		my $sti=$dbh->prepare("DROP TABLE $tablename");
***************
*** 80,83 ****
--- 80,84 ----
  		if ($sti2->err) {
  			print "error : ".$sti2->errstr." \n tried to execute : $sql_cmd\n";
+ 			# FIXME - $sql_cmd undefined
  			die;
  		}





More information about the Koha-cvs mailing list