Commit 9ae99583 authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Modified jiveVersion update logic.

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@3729 b35dd754-fafc-0310-a699-88a17e54d16e
parent 6a884e2b
......@@ -884,9 +884,10 @@ public class DbConnectionManager {
stmt.close();
}
}
// If the version is greater than 6, automatically update the version information.
// Previous to version 6, the upgrade scripts set the version themselves.
if (version >= 6) {
// If the upgrade script's version is greater than 6, automatically update the
// version information. Previous to version 6, the upgrade scripts set the version
// themselves.
if (i >= 6) {
stmt = con.createStatement();
stmt.execute("UPDATE jiveVersion SET version=" + i + " WHERE name='wildfire'");
stmt.close();
......
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