projects
/
vuplus_xbmc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0fdf7aa
)
videodb: cosmetic in SQL query
author
montellese
<montellese@xbmc.org>
Sun, 5 Jan 2014 11:05:56 +0000
(12:05 +0100)
committer
montellese
<montellese@xbmc.org>
Sun, 5 Jan 2014 11:13:18 +0000
(12:13 +0100)
xbmc/video/VideoDatabase.cpp
patch
|
blob
|
history
diff --git
a/xbmc/video/VideoDatabase.cpp
b/xbmc/video/VideoDatabase.cpp
index
e987137
..
bf4c6fc
100644
(file)
--- a/
xbmc/video/VideoDatabase.cpp
+++ b/
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) "