|
Lines 176-184
if ($fk_off) {
Link Here
|
| 176 |
if ($delete) { |
176 |
if ($delete) { |
| 177 |
if ($biblios){ |
177 |
if ($biblios){ |
| 178 |
print "deleting biblios\n"; |
178 |
print "deleting biblios\n"; |
| 179 |
$dbh->do("truncate biblio"); |
179 |
$dbh->do("DELETE FROM biblio"); |
| 180 |
$dbh->do("truncate biblioitems"); |
180 |
$dbh->do("ALTER TABLE biblio AUTO_INCREMENT = 1"); |
| 181 |
$dbh->do("truncate items"); |
181 |
$dbh->do("DELETE FROM biblioitems"); |
|
|
182 |
$dbh->do("ALTER TABLE biblioitems AUTO_INCREMENT = 1"); |
| 183 |
$dbh->do("DELETE FROM items"); |
| 184 |
$dbh->do("ALTER TABLE items AUTO_INCREMENT = 1"); |
| 182 |
} |
185 |
} |
| 183 |
else { |
186 |
else { |
| 184 |
print "deleting authorities\n"; |
187 |
print "deleting authorities\n"; |
| 185 |
- |
|
|