[firebird/el6] - new upstream (bug fix release) - added patch from upstream to fix Firebird CORE-3610

Philippe Makowski makowski at fedoraproject.org
Thu Sep 29 18:58:01 UTC 2011


commit b8f080a8280cecd4758adcc511723f46501c759e
Author: Philippe Makowski <makowski.firebird-fr.eu.org>
Date:   Thu Sep 29 20:57:26 2011 +0200

    - new upstream (bug fix release)
    - added patch from upstream to fix Firebird CORE-3610

 firebird-2.5.0.26074-s390x.patch   |   13 -------------
 firebird-2.5.1-svn-CORE-3610.patch |   32 ++++++++++++++++++++++++++++++++
 firebird.spec                      |   18 +++++++++++-------
 sources                            |    2 +-
 4 files changed, 44 insertions(+), 21 deletions(-)
---
diff --git a/firebird-2.5.1-svn-CORE-3610.patch b/firebird-2.5.1-svn-CORE-3610.patch
new file mode 100644
index 0000000..075ad94
--- /dev/null
+++ b/firebird-2.5.1-svn-CORE-3610.patch
@@ -0,0 +1,32 @@
+--- src/jrd/vio.cpp	2011/09/29 03:27:33	53487
++++ jrd/vio.cpp	2011/09/29 07:45:12	53488
+@@ -1821,7 +1821,6 @@
+ 
+ 
+ bool VIO_get_current(thread_db* tdbb,
+-					//record_param* old_rpb,
+ 					record_param* rpb,
+ 					jrd_tra* transaction,
+ 					MemoryPool* pool,
+@@ -2025,12 +2024,14 @@
+ 			if (rpb->rpb_flags & rpb_deleted)
+ 				return !foreign_key;
+ 
+-			if (rpb->rpb_flags & rpb_uk_modified)
+-					return !foreign_key;
+-
+-			// clear lock error from status vector
+-			fb_utils::init_status(tdbb->tdbb_status_vector);
+-			return true;
++			if (foreign_key)
++			{
++				// clear lock error from status vector
++				fb_utils::init_status(tdbb->tdbb_status_vector);
++				return !(rpb->rpb_flags & rpb_uk_modified);
++			}
++			
++			return !foreign_key;
+ 
+ 		case tra_dead:
+ 			if (transaction->tra_attachment->att_flags & ATT_no_cleanup) {
+
diff --git a/firebird.spec b/firebird.spec
index 9aa0c44..91a8099 100644
--- a/firebird.spec
+++ b/firebird.spec
@@ -1,12 +1,12 @@
-%global pkgname Firebird-2.5.0.26074-0
+%global pkgname Firebird-2.5.1.26349-0
 %global fbroot %{_libdir}/%{name}
-%global major 2.5.0
+%global major 2.5.1
 
 
 Summary: SQL relational database management system
 Name:  firebird
-Version: 2.5.0.26074.0
-Release: 3%{?dist}
+Version: 2.5.1.26349.O
+Release: 1%{?dist}
 
 Group:  Applications/Databases
 License: Interbase
@@ -17,8 +17,8 @@ Source0: http://downloads.sourceforge.net/firebird/%{pkgname}.tar.bz2
 Source1: firebird-logrotate
 Source2: README.Fedora
 
-# sync the utilities list with other arches (will be sent upstream)
-Patch0: firebird-2.5.0.26074-s390x.patch
+# from upstream
+Patch0:		firebird-2.5.1-svn-CORE-3610.patch
 
 BuildRequires: autoconf
 BuildRequires: automake
@@ -145,7 +145,7 @@ Multi-process, local client libraries for Firebird SQL RDBMS
 
 %prep
 %setup -q -n %{pkgname}
-%patch0 -p1 -b .s390x
+%patch0 
 # convert intl character to UTF-8
 iconv -f ISO-8859-1 -t utf-8 -c ./doc/README.intl     -o ./doc/README.intl
 
@@ -503,6 +503,10 @@ fi
 
 
 %changelog
+* Thu Sep 29 2011 Philippe Makowski <makowski at fedoraproject.org>  2.5.1.26349.0-1
+- new upstream (bug fix release)
+- added patch from upstream to fix Firebird CORE-3610
+
 * Sun Dec 26 2010 Philippe Makowski <makowski[at]fedoraproject.org>  2.5.0.26074.0-3
 - fix ppc64
 
diff --git a/sources b/sources
index 58deb9b..894c7e6 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-780f162ee71f087fc277adf09f966529  Firebird-2.5.0.26074-0.tar.bz2
+540713df9b0160699ed52138e1194e07  Firebird-2.5.1.26349-0.tar.bz2


More information about the scm-commits mailing list