Permalink
Browse files

Fix typo in schema update for housekeeping table.

  • Loading branch information...
wagnerrp committed Jun 5, 2013
1 parent 8b294a0 commit c66ff6c42228fa8ae27561e8c64665f86bec9258
Showing with 1 addition and 1 deletion.
  1. +1 −1 mythtv/libs/libmythtv/dbcheck.cpp
@@ -2354,7 +2354,7 @@ NULL
// Migrate old data over
"INSERT INTO `housekeeping` (`tag`, `hostname`, `lastrun`)"
" SELECT SUBSTRING_INDEX(`tag`, '-', 1) AS `tag`,"
" IF(LOCATE('-', `tag` > 0),"
" IF(LOCATE('-', `tag`) > 0,"
" SUBSTRING_INDEX(`tag`, '-', -1),"
" NULL) AS `hostname`,"
" `lastrun`"

0 comments on commit c66ff6c

Please sign in to comment.