Warren Young wrote:

if (rs.begin() != rs.end())

That will never be true for any STL or STL-like container. I think you want something like (rs.size() > 0).

Sorry, I mean that will _always_ be true.

1. Glib::ustring lastname = row["LastName"];

See the ChangeLog for why this does not work.

It's in the v1.7.10 entry, by the way.

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]



Reply via email to