Repository: qpid-broker-j Updated Branches: refs/heads/master fa9f46abf -> 955a79b7d
QPID-7974 : Fix the logic I broker in Adel's commit Project: http://git-wip-us.apache.org/repos/asf/qpid-broker-j/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-broker-j/commit/955a79b7 Tree: http://git-wip-us.apache.org/repos/asf/qpid-broker-j/tree/955a79b7 Diff: http://git-wip-us.apache.org/repos/asf/qpid-broker-j/diff/955a79b7 Branch: refs/heads/master Commit: 955a79b7dfde570dc7d7a6cc9d89b2e6dd1ff137 Parents: fa9f46a Author: rgodfrey <rgodf...@apache.org> Authored: Wed Oct 18 16:19:15 2017 +0200 Committer: rgodfrey <rgodf...@apache.org> Committed: Wed Oct 18 16:20:09 2017 +0200 ---------------------------------------------------------------------- .../main/java/org/apache/qpid/server/store/jdbc/JdbcUtils.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/qpid-broker-j/blob/955a79b7/broker-plugins/jdbc-store/src/main/java/org/apache/qpid/server/store/jdbc/JdbcUtils.java ---------------------------------------------------------------------- diff --git a/broker-plugins/jdbc-store/src/main/java/org/apache/qpid/server/store/jdbc/JdbcUtils.java b/broker-plugins/jdbc-store/src/main/java/org/apache/qpid/server/store/jdbc/JdbcUtils.java index 795bed3..9e7710c 100644 --- a/broker-plugins/jdbc-store/src/main/java/org/apache/qpid/server/store/jdbc/JdbcUtils.java +++ b/broker-plugins/jdbc-store/src/main/java/org/apache/qpid/server/store/jdbc/JdbcUtils.java @@ -65,8 +65,9 @@ public class JdbcUtils // Some databases are not case sensitive in their table names and/or report back a different case for the // name of the table than the one originally used to create it return tableExistsCase(tableName.toUpperCase(), metaData) || tableExistsCase(tableName.toLowerCase(), metaData) - || tableName.equals(tableName.toUpperCase()) || tableName.equals(tableName.toLowerCase()) - || tableExistsCase(tableName, metaData); + || (!tableName.equals(tableName.toUpperCase()) + && !tableName.equals(tableName.toLowerCase()) + && tableExistsCase(tableName, metaData)); } --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org For additional commands, e-mail: commits-h...@qpid.apache.org