mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-09 14:49:32 +00:00
Fixes for CR db_info table
This commit is contained in:
parent
5189640a56
commit
e7721e8bdb
@ -135,7 +135,7 @@ public class EamDbUtil {
|
|||||||
static void updateSchemaVersion(Connection conn) throws SQLException {
|
static void updateSchemaVersion(Connection conn) throws SQLException {
|
||||||
Statement statement = conn.createStatement();
|
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.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 the current Central Reposity schema to the newest version. If the
|
||||||
* upgrade fails, the central repository will be disabled and the current
|
* upgrade fails, the Central Repository will be disabled and the current
|
||||||
* settings will be cleared.
|
* settings will be cleared.
|
||||||
*
|
*
|
||||||
* @return true if the upgrade succeeds, false otherwise.
|
* @return true if the upgrade succeeds, false otherwise.
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#Updated by build script
|
#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
|
LBL_splash_window_title=Starting Autopsy
|
||||||
SPLASH_HEIGHT=314
|
SPLASH_HEIGHT=314
|
||||||
SPLASH_WIDTH=538
|
SPLASH_WIDTH=538
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#Updated by build script
|
#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=Autopsy 4.9.1
|
||||||
CTL_MainWindow_Title_No_Project=Autopsy 4.9.1
|
CTL_MainWindow_Title_No_Project=Autopsy 4.9.1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user