Commit 77bba26a authored by Daniel Henninger's avatar Daniel Henninger Committed by dhenninger

Silence warning about lack of jiveVersion table.

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@10166 b35dd754-fafc-0310-a699-88a17e54d16e
parent 3c6097b1
...@@ -64,7 +64,7 @@ public class SchemaManager { ...@@ -64,7 +64,7 @@ public class SchemaManager {
* or updated successfully. * or updated successfully.
*/ */
public boolean checkOpenfireSchema(Connection con) { public boolean checkOpenfireSchema(Connection con) {
// Change 'wildfire' to 'openfire' in jiveVersion table (update to new name) // Change 'wildfire' to 'openfire' in ofVersion table (update to new name)
updateToOpenfire(con); updateToOpenfire(con);
try { try {
return checkSchema(con, "openfire", DATABASE_VERSION, return checkSchema(con, "openfire", DATABASE_VERSION,
...@@ -314,7 +314,9 @@ public class SchemaManager { ...@@ -314,7 +314,9 @@ public class SchemaManager {
pstmt.executeUpdate(); pstmt.executeUpdate();
} }
catch (Exception ex) { catch (Exception ex) {
Log.warn("Error when trying to update to new name", ex); // Log.warn("Error when trying to update to new name", ex);
// This is "scary" to see in the logs and causes more confusion than it's worth at this point.
// So silently move on.
} }
finally { finally {
DbConnectionManager.closeStatement(pstmt); DbConnectionManager.closeStatement(pstmt);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment