MySQL Forums
Forum List  »  Connector/C++

Mysql++ Alternative
Posted by: Red Squirrel
Date: January 06, 2009 09:34PM

I'm writing a C++ application to run in Linux (possibly Windows too in the future) and been using mysql++. I'm running into all sorts of issues such as:

- No way of getting number of rows returned using a UseQueryResult (I don't want to use StoreQueryResult - who wants to fill ram with an unknown amount of data?)
- If you run a query without finishing to run fetch_row, it craps out with a sync error
- if you call fetch_row once too many, it crashes

Lot of other stuff that is really driving me up the wall. Select queries return an unknown amount of data, maybe none. But because of the above issues it's next to impossible to have error free code unless you know how much data you're getting.

Options: ReplyQuote


Subject
Views
Written By
Posted
Mysql++ Alternative
3605
January 06, 2009 09:34PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.