f-spot r4501 - in trunk: . src
- From: sdelcroix svn gnome org
- To: svn-commits-list gnome org
- Subject: f-spot r4501 - in trunk: . src
- Date: Fri, 17 Oct 2008 09:08:11 +0000 (UTC)
Author: sdelcroix
Date: Fri Oct 17 09:08:11 2008
New Revision: 4501
URL: http://svn.gnome.org/viewvc/f-spot?rev=4501&view=rev
Log:
same for MetaStore
Modified:
trunk/ChangeLog
trunk/src/MetaStore.cs
Modified: trunk/src/MetaStore.cs
==============================================================================
--- trunk/src/MetaStore.cs (original)
+++ trunk/src/MetaStore.cs Fri Oct 17 09:08:11 2008
@@ -87,13 +87,13 @@
SqliteDataReader reader = Database.Query("SELECT id, name, data FROM meta");
while (reader.Read ()) {
- uint id = Convert.ToUInt32 (reader [0]);
+ uint id = Convert.ToUInt32 (reader ["id"]);
- string name = reader [1].ToString ();
+ string name = reader ["name"].ToString ();
string data = null;
- if (reader [2] != null)
- data = reader [2].ToString ();
+ if (reader ["data"] != null)
+ data = reader ["data"].ToString ();
MetaItem item = new MetaItem (id, name, data);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]