You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-commits@db.apache.org by ba...@apache.org on 2006/02/20 20:34:24 UTC

svn commit: r379208 - /db/derby/code/trunk/java/engine/org/apache/derby/iapi/sql/dictionary/PermissionsCatalogRowFactory.java

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)