Return-Path: Delivered-To: apmail-db-derby-commits-archive@www.apache.org Received: (qmail 91607 invoked from network); 7 Jun 2010 15:54:17 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 7 Jun 2010 15:54:17 -0000 Received: (qmail 72189 invoked by uid 500); 7 Jun 2010 15:54:17 -0000 Delivered-To: apmail-db-derby-commits-archive@db.apache.org Received: (qmail 72164 invoked by uid 500); 7 Jun 2010 15:54:17 -0000 Mailing-List: contact derby-commits-help@db.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: "Derby Development" List-Id: Delivered-To: mailing list derby-commits@db.apache.org Received: (qmail 72157 invoked by uid 99); 7 Jun 2010 15:54:17 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Jun 2010 15:54:17 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Jun 2010 15:54:15 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id E1D212388A4B; Mon, 7 Jun 2010 15:53:53 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 -0000 To: derby-commits@db.apache.org From: dag@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20100607155353.E1D212388A4B@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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)