Author: kahatlen
Date: Fri Jan 22 21:43:24 2010
New Revision: 902288
URL: http://svn.apache.org/viewvc?rev=902288&view=rev
Log:
DERBY-4524: Incorrect DROP FUNCTION logic in AccessTest's tearDown() method
Removed the tearDown() method since it did not do anything (DROP
FUNCTION would always fail with no connection) and was not
needed (a CleanDatabaseTestSetup decorator already took care of
dropping the function).
Modified:
db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/store/AccessTest.java
Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/store/AccessTest.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/store/AccessTest.java?rev=902288&r1=902287&r2=902288&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/store/AccessTest.java
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/store/AccessTest.java
Fri Jan 22 21:43:24 2010
@@ -50,16 +50,6 @@
super(name);
}
- public void tearDown() throws Exception {
- Statement st = createStatement();
- super.tearDown();
- try {
- st.executeUpdate("DROP FUNCTION PADSTRING");
- } catch (SQLException e) {
- // never mind.
- }
- }
-
public static Test suite() {
Properties sysProps = new Properties();
sysProps.put("derby.optimizer.optimizeJoinOrder", "false");
|