Ticket #6432: mythtv-6432-mythfilldatabase_bindValue_args_transposed.patch

File mythtv-6432-mythfilldatabase_bindValue_args_transposed.patch, 963 bytes (added by sphery <mtdean@…>, 15 years ago)
  • programs/mythfilldatabase/main.cpp

     
    734734                      "AND originalairdate is not null "
    735735                      "AND (to_days(starttime) - to_days(originalairdate)) "
    736736                      "    > :NEWWINDOW;");
    737         query.bindValue(newEpiWindow, ":NEWWINDOW");
     737        query.bindValue(":NEWWINDOW", newEpiWindow);
    738738
    739739        if (query.exec())
    740740            VERBOSE(VB_GENERAL,
     
    746746                      "AND originalairdate is not null "
    747747                      "AND (to_days(starttime) - to_days(originalairdate)) "
    748748                      "    <= :NEWWINDOW;");
    749         query.bindValue(newEpiWindow, ":NEWWINDOW");
     749        query.bindValue(":NEWWINDOW", newEpiWindow);
    750750
    751751        if (query.exec())
    752752            VERBOSE(VB_GENERAL,