db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhille...@apache.org
Subject svn commit: r1477320 - /db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/GenericResultDescription.java
Date Mon, 29 Apr 2013 20:27:44 GMT
Author: rhillegas
Date: Mon Apr 29 20:27:44 2013
New Revision: 1477320

URL: http://svn.apache.org/r1477320
Log:
DERBY-6206: Cleanup mutability problem in GenericResultDescription.

Modified:
    db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/GenericResultDescription.java

Modified: db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/GenericResultDescription.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/GenericResultDescription.java?rev=1477320&r1=1477319&r2=1477320&view=diff
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/GenericResultDescription.java
(original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/GenericResultDescription.java
Mon Apr 29 20:27:44 2013
@@ -98,7 +98,7 @@ public final class GenericResultDescript
 	public GenericResultDescription(ResultColumnDescriptor[] columns, 
 					String statementType) 
 	{
-		this.columns = columns;
+		this.columns = (ResultColumnDescriptor[]) ArrayUtil.copy( columns );
 		this.statementType = statementType;
 	}
 



Mime
View raw message