Lines 7875-7880
$DBversion = "3.15.00.010";
Link Here
|
7875 |
if(CheckVersion($DBversion)) { |
7875 |
if(CheckVersion($DBversion)) { |
7876 |
$dbh->do("ALTER TABLE deleteditems DROP COLUMN marc"); |
7876 |
$dbh->do("ALTER TABLE deleteditems DROP COLUMN marc"); |
7877 |
print "Upgrade to $DBversion done (Bug 6331: remove obsolete column in deleteditems.marc)\n"; |
7877 |
print "Upgrade to $DBversion done (Bug 6331: remove obsolete column in deleteditems.marc)\n"; |
|
|
7878 |
SetVersion ($DBversion); |
7879 |
} |
7880 |
|
7881 |
|
7882 |
$DBversion = "3.15.00.XXX"; |
7883 |
if(CheckVersion($DBversion)) { |
7884 |
$dbh->do("UPDATE marc_subfield_structure SET maxlength=9999 WHERE maxlength IS NULL OR maxlength=0;"); |
7885 |
print "Upgrade to $DBversion done (Bug 8018: new subfields have a default max length of zero)\n"; |
7878 |
SetVersion($DBversion); |
7886 |
SetVersion($DBversion); |
7879 |
} |
7887 |
} |
7880 |
|
7888 |
|