You have everything i had the problem was that i was not doing while (ResultSet_next(rset)) { ResultSet_getColumnName(rset,1); ResultSet_getString(rset,1); } I was just doing ResultSet_getColumnName(rset,1); ResultSet_getString(rset,1); without ResultSet_next Joe On Fri, Apr 6, 2012 at 5:23 PM, Jan-Henrik Haukeland <hauk@tildeslash.com>wrote:
On Apr 7, 2012, at 2:15 AM, Joe Flemmings wrote:
I remember when i was using the C API i set CLIENT_MULTI_RESULTS or CLIENT_MULTI_STATEMENTS for this to work. Just wondering if their are flags for doing this on MySQL
CLIENT_MULTI_STATEMENTS is already set, but not CLIENT_MULTI_RESULTS (as ResultSet only holds one result), but do try to modify src/db/mysql/MysqlConnection.c and add this to the doConnect() function to see if it works.
Otherwise the only "flags" available are documented here http://tildeslash.com/libzdb/api-docs/mysqloptions.html -- To unsubscribe: http://www.tildeslash.com/mailman/listinfo/libzdb-general