Skip to content

Commit

Permalink
Fix housekeeping schema update.
Browse files Browse the repository at this point in the history
Refs #11588
  • Loading branch information
wagnerrp committed Jul 22, 2013
1 parent 2a7a749 commit b72870d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mythtv/libs/libmythtv/dbcheck.cpp
Expand Up @@ -2362,7 +2362,7 @@ NULL
"INSERT INTO `housekeeping` (`tag`, `hostname`, `lastrun`)"
" SELECT SUBSTRING_INDEX(`tag`, '-', 1) AS `tag`,"
" IF(LOCATE('-', `tag`) > 0,"
" SELECT SUBSTRING(`tag` FROM LENGTH(SUBSTRING_INDEX(`tag`. '-', 1)) +2),"
" SUBSTRING(`tag` FROM LENGTH(SUBSTRING_INDEX(`tag`. '-', 1)) +2),"
" NULL) AS `hostname`,"
" `lastrun`"
" FROM `oldhousekeeping`;",
Expand Down

0 comments on commit b72870d

Please sign in to comment.