- add DBD DSO lifetime fix (r521327)

This commit is contained in:
jorton 2007-03-23 09:46:00 +00:00
parent 0d0b6bf477
commit 68ad8805df
2 changed files with 6 additions and 2 deletions

View File

@ -229,7 +229,7 @@
#if APU_HAVE_MYSQL #if APU_HAVE_MYSQL
DRIVER_LOAD("mysql", apr_dbd_mysql_driver, pool); DRIVER_LOAD("mysql", apr_dbd_mysql_driver, pool);
#endif #endif
@@ -94,62 +92,67 @@ @@ -94,62 +92,68 @@
#if APU_HAVE_SOME_OTHER_BACKEND #if APU_HAVE_SOME_OTHER_BACKEND
DRIVER_LOAD("firebird", apr_dbd_other_driver, pool); DRIVER_LOAD("firebird", apr_dbd_other_driver, pool);
#endif #endif
@ -282,6 +282,7 @@
-#endif -#endif
+ +
+#ifdef APU_DSO_BUILD +#ifdef APU_DSO_BUILD
+ pool = apr_hash_pool_get(drivers);
#ifdef WIN32 #ifdef WIN32
sprintf(path, "apr_dbd_%s.dll", name); sprintf(path, "apr_dbd_%s.dll", name);

View File

@ -4,7 +4,7 @@
Summary: Apache Portable Runtime Utility library Summary: Apache Portable Runtime Utility library
Name: apr-util Name: apr-util
Version: 1.2.8 Version: 1.2.8
Release: 5 Release: 6
License: Apache Software License 2.0 License: Apache Software License 2.0
Group: System Environment/Libraries Group: System Environment/Libraries
URL: http://apr.apache.org/ URL: http://apr.apache.org/
@ -138,6 +138,9 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/pkgconfig/*.pc %{_libdir}/pkgconfig/*.pc
%changelog %changelog
* Fri Mar 23 2007 Joe Orton <jorton@redhat.com> 1.2.8-6
- add DBD DSO lifetime fix (r521327)
* Thu Mar 22 2007 Joe Orton <jorton@redhat.com> 1.2.8-5 * Thu Mar 22 2007 Joe Orton <jorton@redhat.com> 1.2.8-5
- drop doxygen documentation (which caused multilib conflicts) - drop doxygen documentation (which caused multilib conflicts)