Cituji z emailu od Warren Young <mysqlpp@stripped>:
> cgifalco wrote:
>
> > query << "CREATE TABLE tab1"
> > ...
> > query.execute();
> > ...
> > query << "CREATE TABLE tab2"
> > ...
> > query.execute();
>
> Just as with the previous item you posted, you need to reset the query
> object between those two CREATE calls. Any time you reuse the object,
> it must be reset before inserting a new SQL statement into it.
>
> --
> MySQL++ Mailing List
> For list archives: http://lists.mysql.com/plusplus
> To unsubscribe:
> http://lists.mysql.com/plusplus?unsub=1
>
>
I'm sorry, I didn't mention it in my snippet of the code. But I have already
done it. After every query.execute(); is query.reset(); in my program and it
didn't help. The situlation was the same.
cgifalcon