db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r629024 - /db/derby/code/trunk/java/engine/org/apache/derby/iapi/sql/dictionary/StatementTablePermission.java
Date Tue, 19 Feb 2008 08:38:07 GMT
Author: dyre
Date: Tue Feb 19 00:38:05 2008
New Revision: 629024

URL: http://svn.apache.org/viewvc?rev=629024&view=rev
Log:
DERBY-1824: Permission/privlege names in exceptions should be in upper case as keywords, not
lower case.
Patch contributed by Jazarine Jamal
Patch file: DERBY1824.diff

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

Modified: db/derby/code/trunk/java/engine/org/apache/derby/iapi/sql/dictionary/StatementTablePermission.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/iapi/sql/dictionary/StatementTablePermission.java?rev=629024&r1=629023&r2=629024&view=diff
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/iapi/sql/dictionary/StatementTablePermission.java
(original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/iapi/sql/dictionary/StatementTablePermission.java
Tue Feb 19 00:38:05 2008
@@ -199,17 +199,17 @@
 		switch( privType)
 		{
 		case Authorizer.SELECT_PRIV:
-			return "select";
+			return "SELECT";
 		case Authorizer.UPDATE_PRIV:
-			return "update";
+			return "UPDATE";
 		case Authorizer.REFERENCES_PRIV:
-			return "references";
+			return "REFERENCES";
 		case Authorizer.INSERT_PRIV:
-			return "insert";
+			return "INSERT";
 		case Authorizer.DELETE_PRIV:
-			return "delete";
+			return "DELETE";
 		case Authorizer.TRIGGER_PRIV:
-			return "trigger";
+			return "TRIGGER";
 		}
 		return "?";
 	} // end of getPrivName



Mime
View raw message