db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Knut Anders Hatlen (JIRA)" <j...@apache.org>
Subject [jira] Updated: (DERBY-4828) Import fails if column names contain double quotes
Date Fri, 01 Oct 2010 08:35:33 GMT

     [ https://issues.apache.org/jira/browse/DERBY-4828?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Knut Anders Hatlen updated DERBY-4828:
--------------------------------------

    Attachment: derby-4828-1a.diff

Here's a fix that makes ColumnInfo use an existing helper method for quoting the column names.
Originally, it just added quotes around the names, but that's not enough if the name itself
contains quotes. The helper method in IdUtil handles these cases correctly.

ImportExportTest ran cleanly with the patch. I'll run the rest of the regression tests and
come back with the results.

> Import fails if column names contain double quotes
> --------------------------------------------------
>
>                 Key: DERBY-4828
>                 URL: https://issues.apache.org/jira/browse/DERBY-4828
>             Project: Derby
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 10.7.0.0
>            Reporter: Knut Anders Hatlen
>            Assignee: Knut Anders Hatlen
>            Priority: Minor
>         Attachments: derby-4828-1a.diff, test.diff
>
>
> If the target table for an import operation contains columns with double quotes in their
names, the import will fail with a syntax error.

-- 
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