db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From banda...@apache.org
Subject svn commit: r379208 - /db/derby/code/trunk/java/engine/org/apache/derby/iapi/sql/dictionary/PermissionsCatalogRowFactory.java
Date Mon, 20 Feb 2006 19:34:24 GMT
Author: bandaram
Date: Mon Feb 20 11:34:22 2006
New Revision: 379208

URL: http://svn.apache.org/viewcvs?rev=379208&view=rev
Log:
Increase AUTHORIZATION_ID_LENGTH from 30 to 128. Note this change doesn't allow longer user
names than 30 as currently enforced. This only increases catalog column size for 3 permissions
tables that store authorizationID.

Submitted by Satheesh Bandaram (satheesh@sourcery.org)

Modified:
    db/derby/code/trunk/java/engine/org/apache/derby/iapi/sql/dictionary/PermissionsCatalogRowFactory.java

Modified: db/derby/code/trunk/java/engine/org/apache/derby/iapi/sql/dictionary/PermissionsCatalogRowFactory.java
URL: http://svn.apache.org/viewcvs/db/derby/code/trunk/java/engine/org/apache/derby/iapi/sql/dictionary/PermissionsCatalogRowFactory.java?rev=379208&r1=379207&r2=379208&view=diff
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/iapi/sql/dictionary/PermissionsCatalogRowFactory.java
(original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/iapi/sql/dictionary/PermissionsCatalogRowFactory.java
Mon Feb 20 11:34:22 2006
@@ -36,7 +36,7 @@
 {
     public static final String AUTHORIZATION_ID_TYPE = "VARCHAR";
     public static final boolean AUTHORIZATION_ID_IS_BUILTIN_TYPE = true;
-    public static final int AUTHORIZATION_ID_LENGTH = Limits.DB2_MAX_USERID_LENGTH;
+    public static final int AUTHORIZATION_ID_LENGTH = Limits.MAX_IDENTIFIER_LENGTH;
 
     public PermissionsCatalogRowFactory(UUIDFactory uuidf, ExecutionFactory ef, DataValueFactory
dvf,
                                         boolean convertIdToLower)



Mime
View raw message