[mythtv-commits] [MythTV/mythtv] 305836: Fix "SQL LIMIT" warning

kmdewaal noreply at github.com
Fri Oct 8 19:01:15 UTC 2021

  Branch: refs/heads/master
  Home:   https://github.com/MythTV/mythtv
  Commit: 305836e34fcadbeaa397dc88a127cff3415b65d1
  Author: Klaas de Waal <kdewaal at mythtv.org>
  Date:   2021-10-08 (Fri, 08 Oct 2021)

  Changed paths:
    M mythtv/libs/libmythtv/recordinginfo.cpp

  Log Message:
  Fix "SQL LIMIT" warning

The following warning can appear in the mythbackend log output:

2021-10-08 20:30:00.524701 W  LoadFromProgram(): SQL contains LIMIT clause, caller should be updated to use limit parameter instead

In the constructor of RecordingInfo where LoadProgram was indeed called
with a LIMIT clause in the SQL query string this update has now been made.

More information about the mythtv-commits mailing list