Author: mikem
Date: Tue Oct 5 16:43:37 2004
New Revision: 53834
Modified:
incubator/derby/code/trunk/java/engine/org/apache/derby/impl/store/access/sort/ExternalSortFactory.java
Log:
committing for klebanof@Mutagen.Net
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.
Modified: incubator/derby/code/trunk/java/engine/org/apache/derby/impl/store/access/sort/ExternalSortFactory.java
==============================================================================
--- incubator/derby/code/trunk/java/engine/org/apache/derby/impl/store/access/sort/ExternalSortFactory.java
(original)
+++ incubator/derby/code/trunk/java/engine/org/apache/derby/impl/store/access/sort/ExternalSortFactory.java
Tue Oct 5 16:43:37 2004
@@ -322,6 +322,9 @@
public boolean canSupport(Properties startParams) {
+ if (startParams == null)
+ return false;
+
String impl = startParams.getProperty("derby.access.Conglomerate.type");
if (impl == null)
return false;
|