db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From krist...@apache.org
Subject svn commit: r1308694 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/protocol.tests
Date Tue, 03 Apr 2012 05:17:42 GMT
Author: kristwaa
Date: Tue Apr  3 05:17:41 2012
New Revision: 1308694

URL: http://svn.apache.org/viewvc?rev=1308694&view=rev
Log:
DERBY-5682: ProtocolTest failures: Unsupported encoding MacGreek

Replaced usage of MacGreek with UTF-16BE in two tests, which should be
avaialble on all JVMs.

Patch file: derby-5682-1b-use_supported_encoding.diff

Modified:
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/protocol.tests

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/protocol.tests
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/protocol.tests?rev=1308694&r1=1308693&r2=1308694&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/protocol.tests
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/protocol.tests
Tue Apr  3 05:17:41 2012
@@ -1164,11 +1164,11 @@ endDss
 createDssObject 
 writeScalarString TYPDEFNAM "QTDSQLJVM"
 startDdm TYPDEFOVR
-writeScalar2Bytes  CCSIDMBC 1280		//MacGreek
+writeScalar2Bytes  CCSIDMBC 1200    // UnicodeBigUnmarked aka "UTF-16BE"
 endDdm
 startDdm SQLSTT
 writeByte 0	// null indicator
-writeEncodedLDString "create table macgreek (a int)" "MacGreek" 4
+writeEncodedLDString "create table utf16be (a int)" "UTF-16BE" 4
 writeByte 255 // null indicator
 endDdm
 endDss "0x40"
@@ -1196,7 +1196,7 @@ endDss
 createDssObject 
 startDdm SQLSTT
 writeByte 0	// null indicator
-writeEncodedLDString "drop table macgreek" "UTF-8" 4
+writeEncodedLDString "drop table utf16be" "UTF-8" 4
 writeByte 255 // null indicator
 endDdm
 endDss "0x40"
@@ -1230,7 +1230,7 @@ startDdm TYPDEFOVR
 endDdm
 startDdm SQLSTT
 writeByte 0	// null indicator
-writeEncodedLDString "create table macgreek (a int)" "MacGreek" 4
+writeEncodedLDString "create table utf16be (a int)" "UTF-16BE" 4
 writeByte 255 // null indicator
 endDdm
 endDss "0x40"
@@ -3557,7 +3557,7 @@ skipDss		// don't care about the ACCSECR
 createDssRequest
 startDdm  SECCHK
 writeScalar2Bytes SECMEC 4 // userid password
-// %UTF8TestString% will be replaced on runtime by ProtocolTest.java/getString() and TestProto.java
+// %UTF8TestString% will be replaced on runtime by ProtocolTest.java/getString()
 writeScalarString RDBNAM "%UTF8TestString%;create=true" 
 writeScalarString USRID test
 endDdm



Mime
View raw message