[squeak-dev] MySQL driver can't convert; I can't debug

Keith Hodges keith_hodges at yahoo.co.uk
Fri Nov 7 04:19:56 UTC 2008


Tim Johnson wrote:
> Hi,
>
> Using latest Mysql-Driver from Package Universe on 3.10.2-7179, Mac
> Intel, vm 3.8.19beta1U.
>
> Jdm's Mysql-Driver is trying to convert the SQL date value
> "0000-00-00" to a TimeStamp but fails.  The Date value in
> JdmFieldConverter>>toTimestamp:column: does not get set correctly --
> it becomes #nil.  TimeStamp then does not like being passed a nil value.
>
> I am trying to debug but get a "Code simulation error" when I attempt
> to step "Through" (JdmDateHolder readFrom: stream) in
> JdmFieldConverter>>toTimestamp:column:.  The "Code simulation error"
> lists the top of the stack as "Project class>>spawnNewProcess".
>
> Is there anything I can, or should, do?
>
> Thanks,
> Tim
First see if there is a more recent version from squeaksource.
http://www.squeaksource.com/MySQL I know it works I am using it every day.

cheers

Keith



More information about the Squeak-dev mailing list