List:MySQL++« Previous MessageNext Message »
From:Tomalak Geret'kal Date:December 24 2010 3:49am
Subject:Re: 'vector<mysqlpp::row> v;' is crashing my program.
View as plain text  
On 24/12/2010 03:12, Eric Sepich wrote:
> The following segment is crashing my program. I am returning 299,000 rows or
> so. When I run the program the command prompt states "Killed.". I really
> need this to work. What can I do?
>
>            Query queryb = conn.query();
>            vector<mysqlpp::Row>  v;
>            queryb<<  "SELECT * FROM sports_schedule";
>            queryb.storein(v);
>            cout<<  v.size()<<  endl;

This is not a helpful error report. Run your program through 
a debugger and give us a backtrace from the crash.

Tom
Thread
'vector<mysqlpp::row> v;' is crashing my program.Eric Sepich24 Dec
  • Re: 'vector<mysqlpp::row> v;' is crashing my program.Chris Frey24 Dec
  • Re: 'vector<mysqlpp::row> v;' is crashing my program.Warren Young24 Dec
  • Re: 'vector<mysqlpp::row> v;' is crashing my program.Tomalak Geret'kal24 Dec
    • Re: 'vector<mysqlpp::row> v;' is crashing my program.Adrian Cornish24 Dec
Re: 'vector<mysqlpp::row> v;' is crashing my program.Adrian Cornish24 Dec
Re: 'vector<mysqlpp::row> v;' is crashing my program.Adrian Cornish24 Dec
  • Re: 'vector<mysqlpp::row> v;' is crashing my program.Mengmeng Zhang24 Dec
Re: 'vector<mysqlpp::row> v;' is crashing my program.Mengmeng Zhang24 Dec
  • Re: 'vector<mysqlpp::row> v;' is crashing my program.Adrian Cornish24 Dec