| List: | MySQL++ | « Previous MessageNext Message » | |
| From: | Warren Young | Date: | March 11 2009 11:47am |
| Subject: | Re: How to push NULL into template query? | ||
| View as plain text | |||
Alex Luya wrote: > for (size_t i = 1; i <20; i++) > { > sqp << *res[1][i]*; > } This should be fixed by svn r2483. If you don't want to update to svn MySQL++, this one change should apply cleanly to MySQL++ 3.0.9. > cout<<query.str()<endl; Totally unrelated to your thread topic, but that's not right. You have to pass the query parameters to str() as well: otherwise, it can't build the query string, any more than execute() could.
| Thread | ||
|---|---|---|
| • How to push NULL into template query? | Alex Luya | 11 Mar |
| • Re: How to push NULL into template query? | Warren Young | 11 Mar |
| • Re: How to push NULL into template query? | Alex Luya | 13 Mar |
| • How to construct a SQLQueryParms? | Alex Luya | 13 Mar |
| • Re: How to push NULL into template query? | Warren Young | 13 Mar |
| • How to ? | Alex Luya | 17 Mar |
| • How to build from svn r2483? | Alex Luya | 17 Mar |
| • Re: How to ? | Warren Young | 17 Mar |
| • Re: How to ?Many files does not exist or is incomplete or subfixedwith .in | Alex Luya | 18 Mar |
| • Re: How to ?Many files does not exist or is incomplete or subfixedwith .in | Warren Young | 18 Mar |
| • got another error | Alex Luya | 18 Mar |
| • Re: got another error | Warren Young | 19 Mar |
| • got another error after got another error | Alex Luya | 20 Mar |
| • Re: got another error after got another error | Warren Young | 20 Mar |
| • Re: got another error after got another error | Warren Young | 21 Mar |
| • Got all files from running ./bootstracp,but compile error | Alex Luya | 19 Mar |
