f-spot r4081 - trunk/src
- From: sdelcroix svn gnome org
- To: svn-commits-list gnome org
- Subject: f-spot r4081 - trunk/src
- Date: Mon, 23 Jun 2008 07:53:46 +0000 (UTC)
Author: sdelcroix
Date: Mon Jun 23 07:53:46 2008
New Revision: 4081
URL: http://svn.gnome.org/viewvc/f-spot?rev=4081&view=rev
Log:
Adding a Query overload for DbCommand args
Modified:
trunk/src/PhotoStore.cs
Modified: trunk/src/PhotoStore.cs
==============================================================================
--- trunk/src/PhotoStore.cs (original)
+++ trunk/src/PhotoStore.cs Mon Jun 23 07:53:46 2008
@@ -517,7 +517,12 @@
public Photo [] Query (string query)
{
- uint timer = Log.DebugTimerStart ("Query: " + query);
+ return Query (new DbCommand (query));
+ }
+
+ public Photo [] Query (DbCommand query)
+ {
+ uint timer = Log.DebugTimerStart ("Query: " + query.CommandText);
SqliteDataReader reader = Database.Query(query);
ArrayList version_list = new ArrayList ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]