Re: mysql_real_query, insert floats as binary

2002-07-02 Thread Dave Beck
? -- David A. C. Beck [EMAIL PROTECTED] Valerie Daggett Laboratory Biomolecular Structure and Design Program Department of Medicinal Chemistry University of Washington, Seattle On Tue, 2 Jul 2002, Roger Baklund wrote: > * Dave Beck > [...] > > > char insert_format[] = "INSERT

Re: mysql_real_query, insert floats as binary

2002-07-01 Thread Dave Beck
No takers? Any thoughts would be great. -- David A. C. Beck [EMAIL PROTECTED] Valerie Daggett Laboratory Biomolecular Structure and Design Program Department of Medicinal Chemistry University of Washington, Seattle On Thu, 27 Jun 2002, Dave Beck wrote: > the question: > > I am tryi

mysql_real_query, insert floats as binary

2002-06-27 Thread Dave Beck
the question: I am trying to use the C API to insert floating (4 byte) point data into a mysql table. It is very desirable to put the data in as the binary representation and not as a sprintf family converted string (to maintain precision & improve performance). My initial attempt is below - pe