db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d..@apache.org
Subject svn commit: r952284 - in /db/derby/code/trunk/java: engine/org/apache/derby/iapi/sql/conn/LanguageConnectionContext.java engine/org/apache/derby/impl/sql/conn/GenericLanguageConnectionContext.java testing/org/apache/derbyTesting/junit/JDBC.java
Date Mon, 07 Jun 2010 15:53:53 GMT
Author: dag
Date: Mon Jun  7 15:53:53 2010
New Revision: 952284

URL: http://svn.apache.org/viewvc?rev=952284&view=rev
Log:
DERBY-4551 Allow database user to execute stored procedures with same permissions as database
owner and/or routine definer

Follow-up fix to address some Javadoc issues.

Modified:
    db/derby/code/trunk/java/engine/org/apache/derby/iapi/sql/conn/LanguageConnectionContext.java
    db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/conn/GenericLanguageConnectionContext.java
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/JDBC.java

Modified: db/derby/code/trunk/java/engine/org/apache/derby/iapi/sql/conn/LanguageConnectionContext.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/iapi/sql/conn/LanguageConnectionContext.java?rev=952284&r1=952283&r2=952284&view=diff
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/iapi/sql/conn/LanguageConnectionContext.java
(original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/iapi/sql/conn/LanguageConnectionContext.java
Mon Jun  7 15:53:53 2010
@@ -1166,7 +1166,7 @@ public interface LanguageConnectionConte
 	 * @see #setupSubStatementSessionContext
 	 *
 	 * @param a activation of the statement which performs the call.
-     * @param true if the method should run with definer's rights
+     * @param definersRights if the method should run with definer's rights
      * @param definer authorization id of the definer
 	 */
     public void setupNestedSessionContext(Activation a,

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=952284&r1=952283&r2=952284&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
Mon Jun  7 15:53:53 2010
@@ -3378,7 +3378,7 @@ public class GenericLanguageConnectionCo
 
 
 	/**
-	 * @see LanguageConnectionContext#roleIsSettable(String role)
+	 * @see LanguageConnectionContext#roleIsSettable(Activation a, String role)
 	 */
     public boolean roleIsSettable(Activation a, String role)
             throws StandardException {
@@ -3454,7 +3454,7 @@ public class GenericLanguageConnectionCo
 
 
 	/**
-	 * @see LanguageConnectionContext#setupNestedSessionContext(Activation a)
+	 * @see LanguageConnectionContext#setupNestedSessionContext(Activation a, boolean definersRights,
String definer)
 	 */
     public void setupNestedSessionContext(
         Activation a,

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/JDBC.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/JDBC.java?rev=952284&r1=952283&r2=952284&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/JDBC.java (original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/JDBC.java Mon Jun  7 15:53:53
2010
@@ -1294,7 +1294,7 @@ public class JDBC {
      * Asserts that the current user is the same as the one specified.
      *
      * @param con connection to check schema in
-     * @param schema expected user name
+     * @param user expected user name
      * @throws SQLException if something goes wrong
      */
     public static void assertCurrentUser(Connection con, String user)



Mime
View raw message