This fix has been put in place and will be committed later.

Doug

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sean
Corfield
Sent: Monday, February 06, 2006 6:35 PM
To: [email protected]
Subject: Re: Reactor For CF abstractGateway issue

On 2/6/06, Mark Mazelin <[EMAIL PROTECTED]> wrote:
>  I'm running mysql 4.1.16. The field is a decimal with a "Length" of 10
and
> "Decimals" of zero.

I wrote the mysql4 support for Reactor but didn't have time to test it
much so the bug is my fault. Sounds like the assignment to length
should probably be changed from:

<cfset length = REReplace(qFields.TYPE,"(.*)\((.*)\)","\2") />

to:

<cfset length = val(REReplace(qFields.TYPE,"(.*)\((.*)\)","\2")) />

in reactor/data/mysql4/ObjectDao.cfc (in my copy it's line 77 but that
may be a modified version of the core).
--
Sean A Corfield -- http://corfield.org/
Got frameworks?

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood




-- Reactor for ColdFusion Mailing List -- [email protected] -- Archives at 
http://www.mail-archive.com/reactor%40doughughes.net/

Reply via email to