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 Luya11 Mar
  • Re: How to push NULL into template query?Warren Young11 Mar
  • Re: How to push NULL into template query?Alex Luya13 Mar
    • How to construct a SQLQueryParms?Alex Luya13 Mar
    • Re: How to push NULL into template query?Warren Young13 Mar
      • How to ?Alex Luya17 Mar
        • How to build from svn r2483?Alex Luya17 Mar
        • Re: How to ?Warren Young17 Mar
          • Re: How to ?Many files does not exist or is incomplete or subfixedwith .inAlex Luya18 Mar
            • Re: How to ?Many files does not exist or is incomplete or subfixedwith .inWarren Young18 Mar
              • got another errorAlex Luya18 Mar
                • Re: got another errorWarren Young19 Mar
                  • got another error after got another errorAlex Luya20 Mar
                    • Re: got another error after got another errorWarren Young20 Mar
                      • Re: got another error after got another errorWarren Young21 Mar
              • Got all files from running ./bootstracp,but compile errorAlex Luya19 Mar