db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhille...@apache.org
Subject svn commit: r888421 - /db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/PrivilegeNode.java
Date Tue, 08 Dec 2009 14:56:09 GMT
Author: rhillegas
Date: Tue Dec  8 14:56:08 2009
New Revision: 888421

URL: http://svn.apache.org/viewvc?rev=888421&view=rev
Log:
DERBY-712: Wrap another sanity assertion in a debug conditional.

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

Modified: db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/PrivilegeNode.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/PrivilegeNode.java?rev=888421&r1=888420&r2=888421&view=diff
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/PrivilegeNode.java (original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/PrivilegeNode.java Tue
Dec  8 14:56:08 2009
@@ -230,7 +230,10 @@
             break;
 
         default:
+            if( SanityManager.DEBUG)
+            {
                 SanityManager.THROWASSERT( "Invalid privilege objectType: " + this.objectType);
+            }
         }
 
         if( dependencyProvider != null)



Mime
View raw message