Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: always the same error-message -sh*t

From: Warren Young <mysqlpp(at)etr-usa.com>
Date: Mon Jul 30 2007 - 23:31:32 EDT


dwa wrote:
> 11 insert into timestamptable INSERT INTO TimeStampData(TimeStampValue)

This is a stored procedure call. The MySQL C API returns _two_ results from a stored procedure call for reasons I don't quite understand. As Jim said, the C API won't let you issue a second query until all the results from the first are consumed. See examples/multiquery.cpp for the way to cope with this.

-- 
MySQL++ Mailing List
For list archives: 
http://lists.mysql.com/plusplus
To unsubscribe:    
http://lists.mysql.com/plusplus?unsub=lists@pantek.com
Received on Mon Jul 30 23:31:53 2007

This archive was generated by hypermail 2.1.8 : Thu Aug 09 2007 - 19:28:34 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library