You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by Jack Klebanoff <kl...@Mutagen.Net> on 2004/09/29 18:40:56 UTC
[PATCH] ExternalSortFactory Bug Fix
Class org.apache.derby.impl.store.access.sort.ExternalSortFactory has a
latent bug. Its canSupport method throws an exception if it is called
with a null startParams argument. The patch follows.
Jack Klebanoff
Index: ExternalSortFactory.java
===================================================================
--- ExternalSortFactory.java (revision 47313)
+++ ExternalSortFactory.java (working copy)
@@ -322,6 +322,8 @@
public boolean canSupport(Properties startParams) {
+ if( startParams == null)
+ return false;
String impl =
startParams.getProperty("derby.access.Conglomerate.type");
if (impl == null)
return false;
Re: [PATCH] ExternalSortFactory Bug Fix
Posted by Mike Matrigali <mi...@sbcglobal.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I have committed this patch, as 53834
Jack Klebanoff wrote:
| Class org.apache.derby.impl.store.access.sort.ExternalSortFactory has a
| latent bug. Its canSupport method throws an exception if it is called
| with a null startParams argument. The patch follows.
|
| Jack Klebanoff
|
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFBYzI3EpeslyHqPs0RAgFjAJ9nw1mgzta4tcauIwLtQhuTirtZBQCgnNH8
FOl21bMvOYsTjbBk/RUWyTo=
=P+Cx
-----END PGP SIGNATURE-----