List:MySQL++« Previous MessageNext Message »
From:jujulj Date:August 12 2008 11:50am
Subject:Re: problem with fetch_row()
View as plain text  
hi again,

I'd really like to use only C++, so I run it in a debugger.

In the loop

while (mysqlpp::Row row = res.fetch_row()) {
    cout<<row[0]<<";"<<row[1]<<"\n";
}

after the 1128th rows, it enters mysqlpp::Row row = res.fetch_row()
and never gets out of it...

Hope that help...

Julien






On Mon, Aug 11, 2008 at 10:31 PM, Warren Young <mysqlpp@stripped> wrote:
> jujulj wrote:
>>
>> when running the query shown below, the loop always stops at the same
>> point (after 1128 fetch_row) without any error message nor warning.
>> It seems stuck and does not continue the program.
>
> When the program freezes, what does a debugger tell you?
>
> Is it looping inside MySQL++, inside the C API, or inside your code?
>
> What function(s) is it trapped in?
>
> Is there anything unusual about the content 1128th row?
>
> --
> MySQL++ Mailing List
> For list archives: http://lists.mysql.com/plusplus
> To unsubscribe:    http://lists.mysql.com/plusplus?unsub=1
>
>
Thread
problem with fetch_row()jujulj11 Aug
  • Re: problem with fetch_row()Warren Young11 Aug
    • Re: problem with fetch_row()jujulj12 Aug
    • Re: problem with fetch_row()jujulj12 Aug
    • Re: problem with fetch_row()jujulj12 Aug
  • Re: problem with fetch_row()Warren Young12 Aug