Skip to content

Commit

Permalink
Trivial: DBError messages improved
Browse files Browse the repository at this point in the history
In channelinfo.cpp the MythDB::DBError messages now all
have the correct function name in the message text.
  • Loading branch information
kmdewaal committed Aug 14, 2019
1 parent 4636d7e commit 7c91ad7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mythtv/libs/libmythtv/channelinfo.cpp
Expand Up @@ -242,7 +242,7 @@ void ChannelInfo::LoadInputIds()
query.bindValue(":CHANID", m_chanid);

if (!query.exec())
MythDB::DBError("ChannelInfo::GetInputIds()", query);
MythDB::DBError("ChannelInfo::LoadInputIds()", query);
else
{
while(query.next())
Expand All @@ -263,7 +263,7 @@ void ChannelInfo::LoadGroupIds()
query.bindValue(":CHANID", m_chanid);

if (!query.exec())
MythDB::DBError("ChannelInfo::GetInputIds()", query);
MythDB::DBError("ChannelInfo::LoadGroupIds()", query);
else if (query.size() == 0)
{
// HACK Avoid re-running this query each time for channels
Expand Down Expand Up @@ -359,7 +359,7 @@ bool ChannelInsertInfo::SaveScan(uint scanid, uint transportid) const

if (!query.exec())
{
MythDB::DBError("ChannelInsertInfo SaveScan 1", query);
MythDB::DBError("ChannelInsertInfo::SaveScan()", query);
return false;
}

Expand Down

0 comments on commit 7c91ad7

Please sign in to comment.