Index: data/sqlite-stored-procs.sql =================================================================== RCS file: /cvs/gnome/tracker/data/sqlite-stored-procs.sql,v retrieving revision 1.7 diff -u -p -r1.7 sqlite-stored-procs.sql --- data/sqlite-stored-procs.sql 2 Oct 2006 23:41:20 -0000 1.7 +++ data/sqlite-stored-procs.sql 3 Oct 2006 15:12:25 -0000 @@ -22,7 +22,7 @@ GetFileMTime SELECT M.MetaDataValue FRO GetMainServices SELECT TypeName, MetadataClass, Description FROM ServiceTypes WHERE MainService = 1 ORDER BY TypeID; -GetServices SELECT TypeName, MetadataClass, Description FROM ServiceTypes ORDER BY TypeID; +GetServices SELECT TypeName, MetadataClass, Description FROM ServiceTypes WHERE MainService = ? ORDER BY TypeID; GetServiceID SELECT ID, IndexTime, IsDirectory, ServiceTypeID FROM Services WHERE Path = ? AND Name = ?;