OK attached is the code used with release 2.3.2 which worked. It does not work with 3.0.6.
I have changed it back to using a list and '1,0' in the SQLS structure which is how it was
originally (I changed them in a vain attempt hacking it into submission) to avoid
confusion. Take the queries out and run them as the same user in a shell and it returns
the expected results. The examples do work and the differences I can see is that I do not
initialise the Query object - I use the extraction operator:
query << "SELECT...";
Can you point out where I'm going wrong with the new version?
This is a snippet of the output from the program:
hosts.size() == 1
modules.size() == 12
parameters.size() == 106
0 -> 0
----- Original Message -----
From: "Warren Young" <mysqlpp@stripped>
To: "MySQL++ Mailing List" <plusplus@stripped>
Sent: Wednesday, 10 September, 2008 8:12:19 PM GMT +00:00 GMT Britain, Ireland, Portugal
Subject: Re: Result set count correct but each attribute is empty!
James Vanns wrote:
> Can I ask why it looks dubious?
The 3 paragraphs following that one *are* the explanation.
That analysis is as far out on a limb as I can go knowing so little
about what you're trying to accomplish with MySQL++.
> I've tried it with a set and list - both with the same (non) result.
Again: have you tried to get the examples to show the same behavior?
It's hard for anyone to help you if they have no way to reproduce the
When the examples work and your program doesn't, there has to be a
reason, and you have more information and motivation than anyone else to
find out why.
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe: http://lists.mysql.com/plusplus?unsub=1
Framestore CFC Ltd.
Attachment: [text/x-c++src] mysql++-test.cpp