db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d..@apache.org
Subject svn commit: r662911 - /db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/conn/GenericLanguageConnectionContext.java
Date Tue, 03 Jun 2008 22:56:36 GMT
Author: dag
Date: Tue Jun  3 15:56:35 2008
New Revision: 662911

URL: http://svn.apache.org/viewvc?rev=662911&view=rev
Log:
DERBY-3327 SQL roles: Implement authorization stack (and SQL session context to hold it)

Removed an unwarranted sanity check, patch DERBY-3327-6.

Modified:
    db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/conn/GenericLanguageConnectionContext.java

Modified: db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/conn/GenericLanguageConnectionContext.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/conn/GenericLanguageConnectionContext.java?rev=662911&r1=662910&r2=662911&view=diff
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/conn/GenericLanguageConnectionContext.java
(original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/conn/GenericLanguageConnectionContext.java
Tue Jun  3 15:56:35 2008
@@ -386,11 +386,6 @@
 	 * @return the schema descriptor of the computed initial default schema
 	 */
 	private SchemaDescriptor getInitialDefaultSchemaDescriptor() {
-		if (SanityManager.DEBUG) {
-			SanityManager.ASSERT(cachedInitialDefaultSchemaDescr != null,
-								 "cachedInitialDefaultSchemaDescr is null!");
-		}
-
 		return cachedInitialDefaultSchemaDescr;
 	}
 	



Mime
View raw message