Look at the source for the mysql client.
It is a perfect example.

Sean Macmillan wrote:

Using the C API I have written a program that calls mysql_query() on a table with values I know to be in the table. It returns fine and I then call mysql_store_result. The problem I am having is figuring out how to dump the contents of that query to the screen (printf for example). I have tried mysql_fetch_rows and a few others. What am trying to do is see the data on the terminal once the c program executes. Any suggestions?

Sean Mac Millan





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



Reply via email to