[Koha-cvs] CVS: koha/updater updatedatabase,1.4.2.13,1.4.2.14

Steve Tonnesen tonnesen at users.sourceforge.net
Thu Jun 27 22:49:02 CEST 2002


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

Modified Files:
      Tag: rel-1-2
	updatedatabase 
Log Message:
Fixing bug that reported an error if updatedatabase was run twice.


Index: updatedatabase
===================================================================
RCS file: /cvsroot/koha/koha/updater/updatedatabase,v
retrieving revision 1.4.2.13
retrieving revision 1.4.2.14
diff -C2 -r1.4.2.13 -r1.4.2.14
*** updatedatabase	27 Jun 2002 13:30:26 -0000	1.4.2.13
--- updatedatabase	27 Jun 2002 20:48:59 -0000	1.4.2.14
***************
*** 248,252 ****
  }
  
! unless ($branchcategories{'branchcode'} eq 'varchar(4)') {
      print "Changing branchcode in branchcategories to categoryname text.\n";
      my $sth=$dbh->prepare("alter table branchcategories change branchcode categoryname text");
--- 248,252 ----
  }
  
! unless ($branchcategories{'categoryname'} eq 'text') {
      print "Changing branchcode in branchcategories to categoryname text.\n";
      my $sth=$dbh->prepare("alter table branchcategories change branchcode categoryname text");
***************
*** 285,288 ****
--- 285,291 ----
  
  # $Log$
+ # Revision 1.4.2.14  2002/06/27 20:48:59  tonnesen
+ # Fixing bug that reported an error if updatedatabase was run twice.
+ #
  # Revision 1.4.2.13  2002/06/27 13:30:26  tonnesen
  # Fixed typo





More information about the Koha-cvs mailing list