db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From banda...@apache.org
Subject svn commit: r386247 - /db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/DDLStatementNode.java
Date Thu, 16 Mar 2006 03:21:26 GMT
Author: bandaram
Date: Wed Mar 15 19:21:25 2006
New Revision: 386247

URL: http://svn.apache.org/viewcvs?rev=386247&view=rev
Log:
DERBY-1119: Address NullPointerException while creating a schema when DumpParseTree is set
and in SANITY mode.

Submitted by Satheesh Bandaram (satheesh@sourcery.org)

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

Modified: db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/DDLStatementNode.java
URL: http://svn.apache.org/viewcvs/db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/DDLStatementNode.java?rev=386247&r1=386246&r2=386247&view=diff
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/DDLStatementNode.java
(original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/DDLStatementNode.java
Wed Mar 15 19:21:25 2006
@@ -146,7 +146,7 @@
 	{
 		if (SanityManager.DEBUG)
 		{
-			return objectName.toString() + super.toString();
+			return ((objectName==null)?"":objectName.toString()) + super.toString();
 		}
 		else
 		{



Mime
View raw message