[f-spot] fix MD5 query for new db schema
- From: Stephane Delcroix <sdelcroix src gnome org>
- To: svn-commits-list gnome org
- Subject: [f-spot] fix MD5 query for new db schema
- Date: Mon, 13 Jul 2009 11:05:09 +0000 (UTC)
commit 3faf4b141f7a5cb6e98cdfa01e23e50baf247e43
Author: Mike Gemünde <mike gemuende de>
Date: Mon Jul 13 09:00:30 2009 +0200
fix MD5 query for new db schema
src/PhotoStore.cs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/PhotoStore.cs b/src/PhotoStore.cs
index 664c640..0ac5bab 100644
--- a/src/PhotoStore.cs
+++ b/src/PhotoStore.cs
@@ -387,7 +387,7 @@ public class PhotoStore : DbStore<Photo> {
SqliteDataReader reader = Database.Query (
new DbCommand ("SELECT DISTINCT " +
- "id, time, photos.base_uri AS uri, photos.filename AS filename, description, roll_id, default_version_id, rating " +
+ "id, time, photos.base_uri AS base_uri, photos.filename AS filename, description, roll_id, default_version_id, rating " +
"FROM photos " +
"LEFT JOIN photo_versions " +
"ON photos.id = photo_versions.photo_id " +
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]