|
From: Brian B. <bri...@fa...> - 2003-09-09 14:45:59
|
I have been using mysqlcppapi for the last two or three weeks and in general I
find it much cleaner than mysqlc++. Thanks to the developers.
Two bugs or features though:
The following code appends the two queries rather than creates two distinct
queries.
mysqlcppapi::Query query = con.create_Query();
query << "UPDATE W32 SET who=who2";
con.create_Query();
query << "UPDATE B32 SET who=who2";
cout << "Query: " << query.preview() << endl;
ie it generates:
Query: UPDATE W32 SET who=who2UPDATE B32 SET who=who2
The second problem is that I have not been able to get the con.set_Timeout()
to actually alter the timeout for connection. This is a difficult one to test.
Brian Butcher
|