Opened 14 years ago

Closed 14 years ago

#1342 closed patch (fixed)

EIT - fix sql query error

Reported by: Stuart Auchterlonie Owned by: danielk
Priority: minor Milestone: 0.20
Component: mythtv Version: head
Severity: medium Keywords: eit sql
Cc: Ticket locked: no

Description

Fixes a small problem in the last commit to eithelper. When getting the ChanID from the database, query.next() is called twice leading to lots of sql errors

"QSqlQuery::value: not positioned on a valid record"

Attachments (1)

eit-sqlquery-error.diff (541 bytes) - added by Stuart Auchterlonie 14 years ago.
Fixes sql error.

Download all attachments as: .zip

Change History (2)

Changed 14 years ago by Stuart Auchterlonie

Attachment: eit-sqlquery-error.diff added

Fixes sql error.

comment:1 Changed 14 years ago by danielk

Resolution: fixed
Status: newclosed

(In [9055]) Closes #1342, by applying patch.

Note: See TracTickets for help on using tickets.