Skip to content
Browse files

videodb: cosmetic in SQL query

  • Loading branch information...
1 parent 0fdf7aa commit 3347f9960fd3fa1051b1d0d5a702315c2561131b @Montellese Montellese committed Jan 5, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 xbmc/video/VideoDatabase.cpp
View
2 xbmc/video/VideoDatabase.cpp
@@ -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) "

0 comments on commit 3347f99

Please sign in to comment.
Something went wrong with that request. Please try again.