101
101
//Hyena.Log.DebugFormat ("Have {0} items before delete", ServiceManager.DbConnection.Query<int>("select count(*) from coretracks where primarysourceid=?", psource.DbId));
103
103
// Delete tracks that are under the BaseDirectory and that weren't rescanned just now
106
108
string uri = Hyena.StringUtil.EscapeLike (new SafeUri (psource.BaseDirectoryWithSeparator).AbsoluteUri) + "%";
108
110
ServiceManager.DbConnection.Execute (String.Format (@"BEGIN;