[libpostgresql-jdbc-java] 06/14: Fix function drop calls so we end up with a clean database at the end of a successful test run.
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Mon Jan 9 10:20:25 UTC 2017
This is an automated email from the git hooks/post-receive script.
ebourg-guest pushed a commit to tag REL8_2_506
in repository libpostgresql-jdbc-java.
commit 57eb9e44878bafccc54c9214d060af688d8f6ef5
Author: Kris Jurka <books at ejurka.com>
Date: Sun Jul 15 15:03:35 2007 +0000
Fix function drop calls so we end up with a clean database at the
end of a successful test run.
---
org/postgresql/test/jdbc3/Jdbc3CallableStatementTest.java | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/org/postgresql/test/jdbc3/Jdbc3CallableStatementTest.java b/org/postgresql/test/jdbc3/Jdbc3CallableStatementTest.java
index 86167f0..f7865a3 100644
--- a/org/postgresql/test/jdbc3/Jdbc3CallableStatementTest.java
+++ b/org/postgresql/test/jdbc3/Jdbc3CallableStatementTest.java
@@ -338,7 +338,7 @@ public class Jdbc3CallableStatementTest extends TestCase
try
{
Statement dstmt = con.createStatement();
- dstmt.execute("drop function bit_proc()");
+ dstmt.execute("drop function insert_bit(boolean, boolean, boolean)");
}
catch (Exception ex){}
}
@@ -393,7 +393,7 @@ public class Jdbc3CallableStatementTest extends TestCase
try
{
Statement dstmt = con.createStatement();
- dstmt.execute("drop function bit_proc()");
+ dstmt.execute("drop function update_bit(boolean, boolean, boolean)");
}
catch (Exception ex){}
}
@@ -553,7 +553,7 @@ public class Jdbc3CallableStatementTest extends TestCase
+ "return 0;"
+ " end;' "
+ "language 'plpgsql';";
- private final String dropUpdateReal = "drop function update_real_proc()";
+ private final String dropUpdateReal = "drop function update_real_proc(float, float)";
private final double [] doubleValues = {1.0E125, 1.0E-130};
private final float [] realValues = {(float)1.0E37,(float)1.0E-37};
private final int []intValues = {2147483647,-2147483648};
@@ -654,7 +654,7 @@ public class Jdbc3CallableStatementTest extends TestCase
try
{
Statement dstmt = con.createStatement();
- dstmt.execute("drop function longvarbinary_proc()");
+ dstmt.execute("drop function updatefloat_proc(float, float)");
}
catch (Exception ex){}
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/libpostgresql-jdbc-java.git
More information about the pkg-java-commits
mailing list