List:MySQL++« Previous MessageNext Message »
From:Mengmeng Zhang Date:December 24 2010 5:19am
Subject:Re: 'vector<mysqlpp::row> v;' is crashing my program.
View as plain text  
I can't tell exactly what's going on because there's been off-list
conversation, but I've added observations below:

>>           Query queryc = conn.query("CREATE TABLE
> sports_schedule_timeadj
>> LIKE sports_schedule");
>>           StoreQueryResult resc = queryc.store();
>>
> How about
>          Query queryc = conn.query("CREATE TABLE
> sports_schedule_timeadj
> SELECT * FROM sport_scchedule");

This does not preserve the complete structure of the original table.

>>
>>
>>           Query queryd = conn.query("INSERT
> sports_schedule_timeadj SELECT
>> * FROM sports_schedule");
>>           StoreQueryResult resd = queryd.store();

You're missing an "INTO" after "INSERT".
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