[Koha-cvs] koha/updater updatedatabase [rel_2_2]

Joshua Ferraro jmf at liblime.com
Thu May 31 20:32:14 CEST 2007


CVSROOT:	/sources/koha
Module name:	koha
Branch:		rel_2_2
Changes by:	Joshua Ferraro <kados>	07/05/31 18:32:14

Modified files:
	updater        : updatedatabase 

Log message:
	some mysql 5.0 fixes - thanks slef

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/updater/updatedatabase?cvsroot=koha&only_with_tag=rel_2_2&r1=1.100.2.61&r2=1.100.2.62

Patches:
Index: updatedatabase
===================================================================
RCS file: /sources/koha/koha/updater/updatedatabase,v
retrieving revision 1.100.2.61
retrieving revision 1.100.2.62
diff -u -b -r1.100.2.61 -r1.100.2.62
--- updatedatabase	30 May 2007 16:16:30 -0000	1.100.2.61
+++ updatedatabase	31 May 2007 18:32:13 -0000	1.100.2.62
@@ -1,6 +1,6 @@
 #!/usr/bin/perl
 
-# $Id: updatedatabase,v 1.100.2.61 2007/05/30 16:16:30 kados Exp $
+# $Id: updatedatabase,v 1.100.2.62 2007/05/31 18:32:13 kados Exp $
 
 # Database Updater
 # This script checks for required updates to the database.
@@ -1516,7 +1516,7 @@
             type    => 'int(11)',
             null    => '',
             key     => 'PRI',
-            default => '',
+            default => undef,
             extra   => 'auto_increment'
         },
     ],
@@ -1526,7 +1526,7 @@
             type    => 'int(11)',
             null    => '',
             key     => 'PRI',
-            default => '',
+            default => undef,
             extra   => 'auto_increment'
         },
     ],
@@ -1570,7 +1570,7 @@
             type    => 'date',
             null    => 'NULL',
             key     => '',
-            default => '',
+            default => undef,
             extra   => ''
         },	
     ],
@@ -2324,6 +2324,9 @@
 exit;
 
 # $Log: updatedatabase,v $
+# Revision 1.100.2.62  2007/05/31 18:32:13  kados
+# some mysql 5.0 fixes - thanks slef
+#
 # Revision 1.100.2.61  2007/05/30 16:16:30  kados
 # use the same definition for aqbudgetid in all places (int(11))
 # set default value to NULL instead of '0'





More information about the Koha-cvs mailing list