[f-spot/hyena-db-conn] Make Updater setting the database version correctl
- From: Mike Gemünde <mgemuende src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [f-spot/hyena-db-conn] Make Updater setting the database version correctl
- Date: Tue, 20 Jul 2010 08:58:01 +0000 (UTC)
commit 55a3efcf5834c281448678727ad3150f4c8a6757
Author: Mike Gemünde <mike gemuende de>
Date: Tue Jul 20 10:56:25 2010 +0200
Make Updater setting the database version correctl
This was broken since the switch to HyenaSqliteConnection.
src/Updater.cs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/Updater.cs b/src/Updater.cs
index c52dd73..d908e70 100644
--- a/src/Updater.cs
+++ b/src/Updater.cs
@@ -873,7 +873,7 @@ namespace FSpot.Database {
Version.ToString ());
db_version = Version;
- db.Execute(new HyenaSqliteCommand("UPDATE meta SET data = ? WHERE name = ?", meta_db_version_string, db_version.ToString ()));
+ db.Execute(new HyenaSqliteCommand("UPDATE meta SET data = ? WHERE name = ?", db_version.ToString (), meta_db_version_string));
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]