Profiling makes FFI Marshalling of Doubles and Int64s fail

Bayley, Alistair Alistair_Bayley at ldn.invesco.com
Mon Sep 13 07:39:25 EDT 2004


I'm using the newer v3 API, which has functions to get column values as
String, Int, Double, Int64, etc. It also has a prepare/step/finalise trio of
functions for doing queries, which suits me better.

Alistair.

> -----Original Message-----
> From: Krasimir Angelov [mailto:ka2_mail at yahoo.com] 
> Sent: 13 September 2004 12:28
> To: Bayley, Alistair; glasgow-haskell-users at haskell.org
> Subject: RE: Profiling makes FFI Marshalling of Doubles and 
> Int64s fail
> 
> 
> --- "Bayley, Alistair"
> <Alistair_Bayley at ldn.invesco.com> wrote:
> 
> > Thanks Krasimir. I did have a look at your code, but
> > I don't see any foreign
> > types other than CString and Int, which work OK for
> > me regardless of
> > profiling option. (BTW, you tend to use Int rather
> > than CInt - is this
> > safe?)
> 
> Good suggestion. Have done in the CVS. SQLite returns
> all fetched values as strings. Are you sure that you
> read them as strings?
> 
> Cheers,
>   Krasimir

-----------------------------------------
*****************************************************************
Confidentiality Note: The information contained in this 
message, and any attachments, may contain confidential 
and/or privileged material. It is intended solely for the 
person(s) or entity to which it is addressed. Any review, 
retransmission, dissemination, or taking of any action in 
reliance upon this information by persons or entities other 
than the intended recipient(s) is prohibited. If you received
this in error, please contact the sender and delete the 
material from any computer.
*****************************************************************



More information about the Glasgow-haskell-users mailing list