db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jack Klebanoff <klebanoff-de...@sbcglobal.net>
Subject Re: [PATCH] Referential Constraints
Date Tue, 07 Jun 2005 15:00:50 GMT
Daniel John Debrunner wrote:

>Jack wrote:
>
>[snip]
>  
>
>>The patch changes iapi/sql/dictionary/DDUtils.java to remove the DDL time checks
>>    
>>
>[snip]
>
>I think all those checks need to remain for soft upgrade mode, otherwise
>your changes allow referential actions to be created that will not be
>handled correctly by 10.0 engines.
>
>The runtime code could probably remain as-is, in soft upgrade mode it
>would just handle cases that wouldn't exist. So only the DDL code would
>need checkVersion() calls.
>
>
>Dan.
>
>
>  
>
I have modified my patch to incorporate Dan's request. The new patch 
looks at the database version and applies the V10.0 checks during 
referential constraint DDL if the database is V10.0 (soft upgrade). The 
new patch is attached to Derby-338 
(http://issues.apache.org/jira/browse/DERBY-338).

Jack

Mime
View raw message