videodb: cosmetic in SQL query
authormontellese <montellese@xbmc.org>
Sun, 5 Jan 2014 11:05:56 +0000 (12:05 +0100)
committermontellese <montellese@xbmc.org>
Sun, 5 Jan 2014 11:13:18 +0000 (12:13 +0100)
xbmc/video/VideoDatabase.cpp

index e987137..bf4c6fc 100644 (file)
@@ -8307,7 +8307,7 @@ void CVideoDatabase::CleanDatabase(CGUIDialogProgressBarHandle* handle, const se
     sql = StringUtils::Format("DELETE FROM path "
                                 "WHERE (strContent IS NULL OR strContent = '') "
                                   "AND (strSettings IS NULL OR strSettings = '') "
-                                  "and (strHash IS NULL OR strHash = '') "
+                                  "AND (strHash IS NULL OR strHash = '') "
                                   "AND (exclude IS NULL OR exclude != 1) "
                                   "AND NOT EXISTS (SELECT 1 FROM files WHERE files.idPath = path.idPath) "
                                   "AND NOT EXISTS (SELECT 1 FROM tvshowlinkpath WHERE tvshowlinkpath.idPath = path.idPath) "