jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Mueller (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (JCR-1542) Table existence check in DbDataStore.init() does not take into account the table prefix
Date Thu, 17 Apr 2008 12:05:21 GMT

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

Thomas Mueller resolved JCR-1542.
---------------------------------

    Resolution: Duplicate

You are not the first to stumble across this problem:
see https://issues.apache.org/jira/browse/JCR-1366

We probably need to improve this, but let's discuss what
to do on the issue 1366.

> Table existence check in DbDataStore.init() does not take into account the table prefix
> ---------------------------------------------------------------------------------------
>
>                 Key: JCR-1542
>                 URL: https://issues.apache.org/jira/browse/JCR-1542
>             Project: Jackrabbit
>          Issue Type: Bug
>          Components: jackrabbit-core
>    Affects Versions: core 1.4.2
>            Reporter: Yoav Landman
>
> The check in line 487 should be:
> meta.getTables(null, null, (tablePrefix + tableSQL).toUpperCase(), null).next()
> instead of:
> ResultSet rs = meta.getTables(null, null, tableSQL, null);

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