You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ddlutils-dev@db.apache.org by "Thomas Dudziak (JIRA)" <ji...@apache.org> on 2006/12/01 05:28:25 UTC

[jira] Updated: (DDLUTILS-135) mergeWith in Database needs to handle existing tables correctly

     [ http://issues.apache.org/jira/browse/DDLUTILS-135?page=all ]

Thomas Dudziak updated DDLUTILS-135:
------------------------------------

    Fix Version/s: 1.1

> mergeWith in Database needs to handle existing tables correctly
> ---------------------------------------------------------------
>
>                 Key: DDLUTILS-135
>                 URL: http://issues.apache.org/jira/browse/DDLUTILS-135
>             Project: DdlUtils
>          Issue Type: Bug
>          Components: Core (No specific database)
>    Affects Versions: 1.0
>         Environment: MySQL
>            Reporter: Hajo Birthelmer
>         Assigned To: Thomas Dudziak
>             Fix For: 1.1
>
>         Attachments: DdlUtils-135-patch.txt
>
>
> mergeWith in Database.java throws a ModelException if the target database already contains a table described in the source (additional) model. 
> The correct behavior would compare the existing table and the new description and add columns, keys and indexes to the target if necessary (note that for all practical purposes existing columns/indexes etc. should NOT be removed)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira