Ticket #4429: mythmusic_numRowsAffected.diff

File mythmusic_numRowsAffected.diff, 540 bytes (added by Roo <roo.watt@…>, 12 years ago)
  • mythmusic/mythmusic/metadata.cpp

     
    439439    query.bindValue(":COMPILATION", m_compilation);
    440440    query.bindValue(":YEAR", m_year);
    441441
    442     if (!query.exec() || !query.isActive() || query.numRowsAffected() <= 0)
     442    if (!query.exec() || !query.isActive())
    443443    {
    444444        MythContext::DBError("music compilation update", query);
    445445        return;