[mythtv] length mismatch in programinfo on QT4

Kevin Kuphal kkuphal at gmail.com
Thu Apr 10 03:05:50 UTC 2008


On Wed, Apr 9, 2008 at 9:15 PM, Kevin Kuphal <kkuphal at gmail.com> wrote:

> Something seems wrong
>
> In remoteutil.cpp at RemoteGetRecording list, I have:
>
>         cerr << "lines: " << NUMPROGRAMLINES << "\n";
>         cerr << "recordings: " << numrecordings << "\n";
>         cerr << "size: " << (int)strList.size() << "\n";
> Where I get:
>
> lines: 46
> recordings: 316
> size: 1
>
> And then the test:
>
> if (numrecordings * NUMPROGRAMLINES + 1 > (int)strList.size())
>
> fails
>
> Why is that occuring?
>

I put some debugging in the backend and it is failing on query.next() in
HandleQueryRecordings despite the size of the query returning 316 as
expected.

If I run the same query in a mysql window I get the same 316 rows
returned.   I'm very confused here

Kevin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-dev/attachments/20080409/9f55af22/attachment.htm 


More information about the mythtv-dev mailing list