[f-spot] Make Updater setting the database version correctl
- From: Ruben Vermeersch <rubenv src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [f-spot] Make Updater setting the database version correctl
- Date: Wed, 21 Jul 2010 14:44:51 +0000 (UTC)
commit 2aa4e371ff794c7ff6b9b4b8df8f99db3251d24b
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]