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

Reply via email to