[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] koha/C4 Biblio.pm [rel_2_2]
From: |
Ryan Higgins |
Subject: |
[Koha-cvs] koha/C4 Biblio.pm [rel_2_2] |
Date: |
Tue, 17 Apr 2007 19:40:11 +0000 |
CVSROOT: /sources/koha
Module name: koha
Branch: rel_2_2
Changes by: Ryan Higgins <rych> 07/04/17 19:40:11
Modified files:
C4 : Biblio.pm
Log message:
table lock problem on previous bugfix (reordering items in
marc_subfield)
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/C4/Biblio.pm?cvsroot=koha&only_with_tag=rel_2_2&r1=1.115.2.67&r2=1.115.2.68
Patches:
Index: Biblio.pm
===================================================================
RCS file: /sources/koha/koha/C4/Biblio.pm,v
retrieving revision 1.115.2.67
retrieving revision 1.115.2.68
diff -u -b -r1.115.2.67 -r1.115.2.68
--- Biblio.pm 14 Apr 2007 20:52:56 -0000 1.115.2.67
+++ Biblio.pm 17 Apr 2007 19:40:10 -0000 1.115.2.68
@@ -26,7 +26,7 @@
use vars qw($VERSION @ISA @EXPORT);
# set the version for version checking
-$VERSION = do { my @v = '$Revision: 1.115.2.67 $' =~ /\d+/g;
+$VERSION = do { my @v = '$Revision: 1.115.2.68 $' =~ /\d+/g;
shift(@v) . "." . join("_", map {sprintf "%03d", $_ } @v);
};
@ISA = qw(Exporter);
@@ -380,6 +380,7 @@
}
}
+ $dbh->do("UNLOCK TABLES");
# now we need to reorder the tagorder in marc_subfield_table for items data
#search item field code
my $sth = $dbh->prepare("SELECT tagfield FROM marc_subfield_structure
WHERE kohafield LIKE 'items.%'");
@@ -396,7 +397,6 @@
$updatesth->execute($fieldcount,$tagorder,$bibid,$itemtag);
}
- $dbh->do("UNLOCK TABLES");
return $bibid;
}
@@ -3031,8 +3031,11 @@
=cut
-# $Id: Biblio.pm,v 1.115.2.67 2007/04/14 20:52:56 kados Exp $
+# $Id: Biblio.pm,v 1.115.2.68 2007/04/17 19:40:10 rych Exp $
# $Log: Biblio.pm,v $
+# Revision 1.115.2.68 2007/04/17 19:40:10 rych
+# table lock problem on previous bugfix (reordering items in marc_subfield)
+#
# Revision 1.115.2.67 2007/04/14 20:52:56 kados
# IMPORTANT: Major bug in addbiblio and additem, this fixes it.
# Bug 1330