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

Tim Johnson tjohnson at iwu.edu
Thu Nov 6 22:45:59 UTC 2008


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




More information about the Squeak-dev mailing list