[
https://issues.apache.org/jira/browse/DERBY-4318?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12737705#action_12737705
]
Bryan Pendleton commented on DERBY-4318:
----------------------------------------
Hi Eranda, Rick provided his patch in a message to the derby-dev list. Here is
his message:
http://mail-archives.apache.org/mod_mbox/db-derby-dev/200907.mbox/%[email protected]%3e
And here is the diff that was attached to the message, to help with diagnosis:
Index:
java/testing/org/apache/derbyTesting/functionTests/tests/lang/inbetween.sql
===================================================================
--- java/testing/org/apache/derbyTesting/functionTests/tests/lang/inbetween.sql
(revision 798152)
+++ java/testing/org/apache/derbyTesting/functionTests/tests/lang/inbetween.sql
(working copy)
@@ -23,7 +23,7 @@
-- compatibility with dynamic parameters
set isolation to rr;
-CREATE FUNCTION ConsistencyChecker() RETURNS VARCHAR(128)
+CREATE FUNCTION ConsistencyChecker() RETURNS VARCHAR(20000)
EXTERNAL NAME
'org.apache.derbyTesting.functionTests.util.T_ConsistencyChecker.runConsistencyChecker'
LANGUAGE JAVA PARAMETER STYLE JAVA;
autocommit off;
@@ -147,6 +147,7 @@
delete from s where i between 3 and 5;
select * from s;
+MAXIMUMDISPLAYWIDTH 2000;
-- check consistency of scans, etc.
values ConsistencyChecker();
Index:
java/testing/org/apache/derbyTesting/functionTests/util/T_ConsistencyChecker.java
===================================================================
---
java/testing/org/apache/derbyTesting/functionTests/util/T_ConsistencyChecker.java
(revision 798152)
+++
java/testing/org/apache/derbyTesting/functionTests/util/T_ConsistencyChecker.java
(working copy)
@@ -504,6 +504,8 @@
{
debugBuf.append("No outstanding dependencies.\n");
}
+
+ debugBuf.append( " " + dm.dumpDependencies() );
return debugBuf.toString();
}
> convert inbetween.sql to JUNIT
> ------------------------------
>
> Key: DERBY-4318
> URL: https://issues.apache.org/jira/browse/DERBY-4318
> Project: Derby
> Issue Type: Improvement
> Components: Test
> Reporter: Eranda Sooriyabandara
> Assignee: Eranda Sooriyabandara
> Priority: Minor
> Attachments: inbetween.junit, InbetweenTest.diff, InbetweenTest.diff
>
>
> conversion of inbetween.sql to JUNIT
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.