empire-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From franci...@apache.org
Subject svn commit: r898193 - /incubator/empire-db/trunk/empire-db-codegen/src/main/java/org/apache/empire/db/codegen/CodeGenParser.java
Date Tue, 12 Jan 2010 06:48:00 GMT
Author: francisdb
Date: Tue Jan 12 06:47:59 2010
New Revision: 898193

URL: http://svn.apache.org/viewvc?rev=898193&view=rev
Log:
EMPIREDB-69 empire-db-codegen3.patch by McKinley
One small patch for a null exception

Modified:
    incubator/empire-db/trunk/empire-db-codegen/src/main/java/org/apache/empire/db/codegen/CodeGenParser.java

Modified: incubator/empire-db/trunk/empire-db-codegen/src/main/java/org/apache/empire/db/codegen/CodeGenParser.java
URL: http://svn.apache.org/viewvc/incubator/empire-db/trunk/empire-db-codegen/src/main/java/org/apache/empire/db/codegen/CodeGenParser.java?rev=898193&r1=898192&r2=898193&view=diff
==============================================================================
--- incubator/empire-db/trunk/empire-db-codegen/src/main/java/org/apache/empire/db/codegen/CodeGenParser.java
(original)
+++ incubator/empire-db/trunk/empire-db-codegen/src/main/java/org/apache/empire/db/codegen/CodeGenParser.java
Tue Jan 12 06:47:59 2010
@@ -141,7 +141,7 @@
 	            tables = dbMeta.getTables(
 			            config.getDbCatalog(), 
 			            config.getDbSchema(), 
-			            pattern.trim(),
+			            pattern == null ? pattern: pattern.trim(),
 						new String[] { "TABLE", "VIEW" });
 	            
 	            // Add all tables and views 



Mime
View raw message