SourceWatcher: Fix SQL error caused by incorrect escaping (bgo#667355)
authorBertrand Lorentz <bertrand.lorentz@gmail.com>
Sun, 8 Jan 2012 11:51:47 +0000 (12:51 +0100)
committerBertrand Lorentz <bertrand.lorentz@gmail.com>
Sun, 8 Jan 2012 11:51:47 +0000 (12:51 +0100)
commit48f6ac2b9d1127c9a7acc14a0622957d034cc2ae
tree68d469eb7f1fd306d36d37134c210ee142224b4e
parentcfca3eab238550eb30347ce7434185e31492147e
SourceWatcher: Fix SQL error caused by incorrect escaping (bgo#667355)

Recent refactoring cause an SQL statement to become incorrect, as the
ESCAPE part was not @-quoted anymore.

Fix this and try to make the query construction a bit clearer by using a
temporary variable.
src/Extensions/Banshee.LibraryWatcher/Banshee.LibraryWatcher/SourceWatcher.cs