Prepared Statements, only offered in 4.1 API's.
David W. Juntgen
Medical Informatics Engineering Inc.
Fax : 260.459.6271
> -----Original Message-----
> From: Mads Kristensen [mailto:mdk2@stripped]
> Sent: Monday, December 06, 2004 3:32 PM
> To: mysql@stripped
> Subject: MySQL C API questions
> Hi all.
> I'm using the MySQL C API to interface with my MySQL 4.1 server and I
> have the following questions:
> When I do a SELECT of some integer data value what is actually
> is a string representation of the integer value and since I need this
> integer value in my client I have to convert it. Is it possible to get
> MySQL to return the actual integer value instead?
> If not, and I actually have to convert the value every time, I have
> another related question: Are the values returned zero-terminated? Or
> I have to use the lengths that I can fetch with mysql_fetch_lengths?
> reason that I ask this question is that if the fields are not
> zero-terminated I have to copy the values into a temporary buffer,
> zero-terminate that buffer and the do the conversion every time...
> This seems like a lot of wasted work ;-)
> Best regards,
> Mads Kristensen
> MySQL General Mailing List
> For list archives: http://lists.mysql.com/mysql
> To unsubscribe: