db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhille...@apache.org
Subject svn commit: r922458 - /db/derby/code/trunk/java/tools/org/apache/derby/tools/dblook.java
Date Fri, 12 Mar 2010 23:50:14 GMT
Author: rhillegas
Date: Fri Mar 12 23:50:14 2010
New Revision: 922458

URL: http://svn.apache.org/viewvc?rev=922458&view=rev
Log:
DERBY-4580: Fix dblook on soft-upgraded databases, which had been broken by the addition of
sequences.

Modified:
    db/derby/code/trunk/java/tools/org/apache/derby/tools/dblook.java

Modified: db/derby/code/trunk/java/tools/org/apache/derby/tools/dblook.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/tools/org/apache/derby/tools/dblook.java?rev=922458&r1=922457&r2=922458&view=diff
==============================================================================
--- db/derby/code/trunk/java/tools/org/apache/derby/tools/dblook.java (original)
+++ db/derby/code/trunk/java/tools/org/apache/derby/tools/dblook.java Fri Mar 12 23:50:14
2010
@@ -526,7 +526,7 @@ public final class dblook {
 			DB_Schema.doSchemas(this.conn,
 				(tableList != null) && (targetSchema == null));
 
-            DB_Sequence.doSequences( conn );
+            if ( at10_6 ) { DB_Sequence.doSequences( conn ); }
 
 			if (tableList == null) {
 			// Don't do these if user just wants table-related objects.



Mime
View raw message