Ticket #1919: dbcheck.cpp.diff

File dbcheck.cpp.diff, 748 bytes (added by Colin Guthrie <mythtv@…>, 18 years ago)

Fix a logic error in dbcheck.cpp

  • dbcheck.cpp

     
    429429"  (playlist_id,playlist_name,playlist_songs,hostname)"
    430430"  SELECT playlistid, name, songlist, hostname"
    431431"  FROM musicplaylist;",
    432 // Set all playlists to be global by killing the hostname
     432// Set all real playlists to be global by killing the hostname
    433433"UPDATE music_playlists"
    434434"  SET hostname=''"
    435 "  WHERE playlist_name='default_playlist_storage'"
    436 "    OR playlist_name='backup_playlist_storage';",
     435"  WHERE playlist_name<>'default_playlist_storage'"
     436"    AND playlist_name<>'backup_playlist_storage';",
    437437""
    438438};
    439439        performActualUpdate(updates, "1006", dbver);