You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Yoav Landman (JIRA)" <ji...@apache.org> on 2008/04/16 14:11:21 UTC
[jira] Created: (JCR-1542) Table existence check in
DbDataStore.init() does not take into account the table prefix
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.
[jira] Resolved: (JCR-1542) Table existence check in
DbDataStore.init() does not take into account the table prefix
Posted by "Thomas Mueller (JIRA)" <ji...@apache.org>.
[ 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.