Index: GrantRevokeDDLTest.java
===================================================================
--- GrantRevokeDDLTest.java	(revision 788387)
+++ GrantRevokeDDLTest.java	(working copy)
@@ -421,6 +421,9 @@
         st_swiperConnection.executeUpdate(
             " create table swiper.mytab ( i int, j int)");
         
+	st_swiperConnection.executeUpdate(
+	    " grant execute on procedure SYSCS_UTIL.SYSCS_INPLACE_COMPRESS_TABLE to SAM");
+
         st_swiperConnection.executeUpdate(
             " set schema swiper");
         
@@ -1015,6 +1018,7 @@
         
         st_samConnection.executeUpdate(
             " insert into samTable values 1,2,3,4,5,6,7");
+
         
         // Following should pass... PUBLIC should have access to these
         
@@ -1051,6 +1055,12 @@
         assertUpdateCount(cSt, 0);
         cSt.close();
         
+        // DERBY-4295, This should not return any error
+        cSt = samConnection.prepareCall(
+            "call SYSCS_UTIL.SYSCS_COMPRESS_TABLE('SWIPER', 'MYTAB', 1)");
+        assertStatementError("38000", cSt);
+        cSt.close();
+
         // Try compressing tables not owned.
         
         cSt = samConnection.prepareCall(
