[chronojump] Fixed crash on init database since 5 days(EncoderConfiguration manage - SQL 80% gui 50%)
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Fixed crash on init database since 5 days(EncoderConfiguration manage - SQL 80% gui 50%)
- Date: Wed, 4 Jan 2017 15:37:12 +0000 (UTC)
commit 0f9a5882bdc020f0f4b95c17e31c978e8951a227
Author: Xavier de Blas <xaviblas gmail com>
Date: Wed Jan 4 16:35:17 2017 +0100
Fixed crash on init database since 5 days(EncoderConfiguration manage - SQL 80% gui 50%)
src/sqlite/main.cs | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/sqlite/main.cs b/src/sqlite/main.cs
index 5af9bae..5bedaa8 100644
--- a/src/sqlite/main.cs
+++ b/src/sqlite/main.cs
@@ -2088,6 +2088,10 @@ class Sqlite
SqlitePerson sqlitePersonObject = new SqlitePerson();
sqlitePersonObject.createTable(Constants.PersonTable);
+ creationRate ++;
+ SqlitePreferences.createTable();
+ SqlitePreferences.initializeTable(lastChronojumpDatabaseVersion, creatingBlankDatabase);
+
//graphLinkTable
SqliteEvent.createGraphLinkTable();
creationRate ++;
@@ -2163,10 +2167,6 @@ class Sqlite
sqlitePersonSessionObject.createTable(Constants.PersonSessionTable);
creationRate ++;
- SqlitePreferences.createTable();
- SqlitePreferences.initializeTable(lastChronojumpDatabaseVersion, creatingBlankDatabase);
-
- creationRate ++;
SqliteCountry.createTable();
SqliteCountry.initialize();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]