On 30/01/2011 00:42, Kemin Zhou wrote:
> I found the most strange solution:
> 75 query << "insert into " << badtab << " values(%0, %1q)";
> 76 cerr << query << " filling ...\n"; // this line supress
> the bug
> 77 query.parse();
> The above code fixed the error message (exception) got
> suppressed. Actually, I am using 3.0.9
> The code was very simple,
> I was inserting int,varchar(24) two values into an empty table
> with only two columns.
Please provide a testcase.
That is, a piece of self-sufficient code that's valid in
every way except for demonstrating the issue.
Your lines of code are not a full C++ program. For example,
we don't see you declaring any variables so we don't know
their type, and you have no function scope.