db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d..@apache.org
Subject svn commit: r423232 - /db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/catalog/SYSROUTINEPERMSRowFactory.java
Date Tue, 18 Jul 2006 20:23:56 GMT
Author: djd
Date: Tue Jul 18 13:23:55 2006
New Revision: 423232

URL: http://svn.apache.org/viewvc?rev=423232&view=rev
Log:
DERBY-1330 (partial) There is a typo in SYSROUTINEPERMSRowFactory.java for one of the variables
and this patch fixes just that.
Patch submitted by Mamta Satoor

Modified:
    db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/catalog/SYSROUTINEPERMSRowFactory.java

Modified: db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/catalog/SYSROUTINEPERMSRowFactory.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/catalog/SYSROUTINEPERMSRowFactory.java?rev=423232&r1=423231&r2=423232&view=diff
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/catalog/SYSROUTINEPERMSRowFactory.java
(original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/catalog/SYSROUTINEPERMSRowFactory.java
Tue Jul 18 13:23:55 2006
@@ -50,7 +50,7 @@
 	static final String TABLENAME_STRING = "SYSROUTINEPERMS";
 
     // Column numbers for the SYSROUTINEPERMS table. 1 based
-    private static final int ROUTINPERMSID_COL_NUM = 1;
+    private static final int ROUTINEPERMSID_COL_NUM = 1;
     private static final int GRANTEE_COL_NUM = 2;
     private static final int GRANTOR_COL_NUM = 3;
     private static final int ALIASID_COL_NUM = 4;
@@ -62,7 +62,7 @@
 	private static final int[][] indexColumnPositions = 
 	{ 
 		{ GRANTEE_COL_NUM, ALIASID_COL_NUM, GRANTOR_COL_NUM},
-		{ ROUTINPERMSID_COL_NUM }
+		{ ROUTINEPERMSID_COL_NUM }
 	};
 	private static final String[][] indexColumnNames =
 	{
@@ -117,7 +117,7 @@
                 routineID = rpd.getRoutineUUID().toString();
         }
 		ExecRow row = getExecutionFactory().getValueRow( COLUMN_COUNT);
-		row.setColumn( ROUTINPERMSID_COL_NUM, dvf.getCharDataValue(routinePermID));
+		row.setColumn( ROUTINEPERMSID_COL_NUM, dvf.getCharDataValue(routinePermID));
         row.setColumn( GRANTEE_COL_NUM, grantee);
         row.setColumn( GRANTOR_COL_NUM, grantor);
         row.setColumn( ALIASID_COL_NUM, dvf.getCharDataValue( routineID));
@@ -135,7 +135,7 @@
             SanityManager.ASSERT( row.nColumns() == COLUMN_COUNT,
                                   "Wrong size row passed to SYSROUTINEPERMSRowFactory.buildDescriptor");
 
-        String routinePermsUUIDString = row.getColumn(ROUTINPERMSID_COL_NUM).getString();
+        String routinePermsUUIDString = row.getColumn(ROUTINEPERMSID_COL_NUM).getString();
         UUID routinePermsUUID = getUUIDFactory().recreateUUID(routinePermsUUIDString);
         String aliasUUIDString = row.getColumn( ALIASID_COL_NUM).getString();
         UUID aliasUUID = getUUIDFactory().recreateUUID(aliasUUIDString);
@@ -156,9 +156,9 @@
         {
             columnList = new SystemColumn[ COLUMN_COUNT];
 
-            columnList[ ROUTINPERMSID_COL_NUM - 1] =
+            columnList[ ROUTINEPERMSID_COL_NUM - 1] =
                 new SystemColumnImpl( convertIdCase( "ROUTINEPERMSID"),
-                                      ROUTINPERMSID_COL_NUM,
+                                      ROUTINEPERMSID_COL_NUM,
                                       0, // precision
                                       0, // scale
                                       false, // nullability



Mime
View raw message