empire-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From franci...@apache.org
Subject svn commit: r1070246 - /incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/db/DBSQLScript.java
Date Sun, 13 Feb 2011 15:02:27 GMT
Author: francisdb
Date: Sun Feb 13 15:02:26 2011
New Revision: 1070246

URL: http://svn.apache.org/viewvc?rev=1070246&view=rev
Log:
not sure what the proper way to do this is, reverting to previous implementation

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

Modified: incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/db/DBSQLScript.java
URL: http://svn.apache.org/viewvc/incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/db/DBSQLScript.java?rev=1070246&r1=1070245&r2=1070246&view=diff
==============================================================================
--- incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/db/DBSQLScript.java
(original)
+++ incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/db/DBSQLScript.java
Sun Feb 13 15:02:26 2011
@@ -117,7 +117,7 @@ public class DBSQLScript extends ErrorOb
                 // SQLException
                 log.error(e.toString(), e);
                 if (ignoreErrors==false)
-                    return error(DBErrors.SQLException, e.getClass().getSimpleName() + ":
" + e.getMessage());
+                    return error(DBErrors.SQLException, e);
                 // continue
                 log.debug("Ignoring error. Continuing with script...");
             }



Mime
View raw message