In the MYSQL struct in the C API, how does one access the MYSQL_FIELD data?

for example, and MYSQL struct has

MYSQL_FIELD *fields;

as a member variable.  However, when I try to access any of the variables within fields
for example, mysql.fields[0].name, I get a segmentation fault.

Does anyone know what I am doing wrong?
Andrew


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to