Hi,
I noticed a tiny inconsistency (which actually seems to work on most systems) in the test tools/iepnegativetests.sql; one subtest which is supposed to do a valid export and import (as per the comment) is using codeset utf-8 in the export, but not in the subsequent import.
This patch fixes the .sql, as well as dependent .out files.
If someone could commit this...
Myrna
Index:
java/testing/org/apache/derbyTesting/functionTests/tests/tools/iepnegativetests.sql
===================================================================
---
java/testing/org/apache/derbyTesting/functionTests/tests/tools/iepnegativetests.sql
(revision 280633)
+++
java/testing/org/apache/derbyTesting/functionTests/tests/tools/iepnegativetests.sql
(working copy)
@@ -63,7 +63,7 @@
delete from t1 ;
call SYSCS_UTIL.SYSCS_IMPORT_TABLE('IEP', 'T1' , 'extinout/t1.dat' ,
- null, null, null, 0) ;
+ null, null, 'utf-8', 0) ;
select * from t1;
--import error cases
Index:
java/testing/org/apache/derbyTesting/functionTests/master/iepnegativetests_ES.out
===================================================================
---
java/testing/org/apache/derbyTesting/functionTests/master/iepnegativetests_ES.out
(revision 280633)
+++
java/testing/org/apache/derbyTesting/functionTests/master/iepnegativetests_ES.out
(working copy)
@@ -79,7 +79,7 @@
ij> delete from t1 ;
7 rows inserted/updated/deleted
ij> call SYSCS_UTIL.SYSCS_IMPORT_TABLE('IEP', 'T1' , 'extinout/t1.dat' ,
- null, null, null, 0) ;
+ null, null, 'utf-8', 0) ;
0 rows inserted/updated/deleted
ij> select * from t1;
A
Index:
java/testing/org/apache/derbyTesting/functionTests/master/iepnegativetests.out
===================================================================
---
java/testing/org/apache/derbyTesting/functionTests/master/iepnegativetests.out
(revision 280633)
+++
java/testing/org/apache/derbyTesting/functionTests/master/iepnegativetests.out
(working copy)
@@ -75,7 +75,7 @@
ij> delete from t1 ;
7 rows inserted/updated/deleted
ij> call SYSCS_UTIL.SYSCS_IMPORT_TABLE('IEP', 'T1' , 'extinout/t1.dat' ,
- null, null, null, 0) ;
+ null, null, 'utf-8', 0) ;
0 rows inserted/updated/deleted
ij> select * from t1;
A
M java\testing\org\apache\derbyTesting\functionTests\tests\tools\iepnegativetests.sql M java\testing\org\apache\derbyTesting\functionTests\master\iepnegativetests_ES.out M java\testing\org\apache\derbyTesting\functionTests\master\iepnegativetests.out
