From 4c8376b30010c0bf9fdc755d97a38b6b602ebe49 Mon Sep 17 00:00:00 2001 From: tipaul Date: Mon, 24 Jun 2002 15:00:43 +0000 Subject: [PATCH] merging rel-1-2 and main branches --- updater/updatedatabase2.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/updater/updatedatabase2.pl b/updater/updatedatabase2.pl index 6957abe5ce..a4bd049c6b 100755 --- a/updater/updatedatabase2.pl +++ b/updater/updatedatabase2.pl @@ -124,7 +124,7 @@ dosql($dbh,"CREATE TABLE bibliothesaurus (code BIGINT not null AUTO_INCREMENT, f print "done\n biblio/borrowers..."; dosql($dbh,"ALTER TABLE aqorderdelivery DROP PRIMARY KEY, ADD PRIMARY KEY(ordernumber);"); dosql($dbh,"ALTER TABLE aqorders DROP PRIMARY KEY, ADD PRIMARY KEY(ordernumber);"); - dosql($dbh,"ALTER TABLE biblio DROP PRIMARY KEY, ADD PRIMARY KEY(biblionumber, biblionumber);"); + dosql($dbh,"ALTER TABLE biblio DROP PRIMARY KEY, ADD PRIMARY KEY(biblionumber);"); dosql($dbh,"ALTER TABLE biblioitems DROP PRIMARY KEY, ADD PRIMARY KEY(biblionumber, biblioitemnumber)"); dosql($dbh,"CREATE INDEX SUBTITLE ON bibliosubtitle (subtitle(80))"); dosql($dbh,"ALTER TABLE borexp CHANGE borrowernumber borrowernumber INT (11) not null"); -- 2.39.5