db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mamta A. Satoor (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DERBY-2669) If no territory attribute is not specified at create database time, then we should ignore the collation attribute if specified.
Date Fri, 18 May 2007 18:36:16 GMT

    [ https://issues.apache.org/jira/browse/DERBY-2669?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12496990
] 

Mamta A. Satoor commented on DERBY-2669:
----------------------------------------

Just want to record the current Derby 10.3 behavior for a database where collation=TERRITORY_BASED
and no territory is specified

ij> connect 'jdbc:derby:c:/dellater/db1_52_data;create=true;collation=TERRITORY_BASED';
ij> select tablename from sys.systables where tablename='T1';
ERROR 42818: Comparisons between 'VARCHAR' and 'CHAR' are not supported.

This does not seem correct. I think although user has asked for TERRITORY_BASE collation,
since no territory attribute is specified, internally, we should be using UCS_BASIC for both
system and user schemas.

> If no territory attribute is not specified at create database time, then we should ignore
the collation attribute if specified.
> -------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-2669
>                 URL: https://issues.apache.org/jira/browse/DERBY-2669
>             Project: Derby
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 10.3.0.0
>            Reporter: Mamta A. Satoor
>
> If a user specifies a create database url like following
> jdbc:derby:abcDB;create=true;collation=TERRITORY_BASED
> we should ignore the collation attribute because no territory attribute has been specified.
The current Derby 10.3 code does not do that. Once this is fixed, we should add a test case
for it in CollationTest.java

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message