Fixes for CR db_info table

This commit is contained in:
Richard Cordovano 2018-12-11 14:20:04 -05:00
parent 5189640a56
commit e7721e8bdb
3 changed files with 5 additions and 5 deletions

View File

@ -135,7 +135,7 @@ public class EamDbUtil {
static void updateSchemaVersion(Connection conn) throws SQLException {
Statement statement = conn.createStatement();
statement.execute("UPDATE db_info SET value = '" + CURRENT_DB_SCHEMA_VERSION.getMajor() + "' WHERE name = '" + AbstractSqlEamDb.SCHEMA_MAJOR_VERSION_KEY + "'");
statement.execute("UPDATE db_info SET value = '" + CURRENT_DB_SCHEMA_VERSION.getMinor() + "' WHERE name = '" + AbstractSqlEamDb.SCHEMA_MAJOR_VERSION_KEY + "'");
statement.execute("UPDATE db_info SET value = '" + CURRENT_DB_SCHEMA_VERSION.getMinor() + "' WHERE name = '" + AbstractSqlEamDb.SCHEMA_MINOR_VERSION_KEY + "'");
}
/**
@ -165,8 +165,8 @@ public class EamDbUtil {
}
/**
* Upgrade the current central reposity to the newest version. If the
* upgrade fails, the central repository will be disabled and the current
* Upgrade the current Central Reposity schema to the newest version. If the
* upgrade fails, the Central Repository will be disabled and the current
* settings will be cleared.
*
* @return true if the upgrade succeeds, false otherwise.

View File

@ -1,5 +1,5 @@
#Updated by build script
#Tue, 11 Dec 2018 12:55:18 -0500
#Tue, 11 Dec 2018 14:19:50 -0500
LBL_splash_window_title=Starting Autopsy
SPLASH_HEIGHT=314
SPLASH_WIDTH=538

View File

@ -1,4 +1,4 @@
#Updated by build script
#Tue, 11 Dec 2018 12:55:18 -0500
#Tue, 11 Dec 2018 14:19:50 -0500
CTL_MainWindow_Title=Autopsy 4.9.1
CTL_MainWindow_Title_No_Project=Autopsy 4.9.1