I'm using the latest revision of Reactor, 346, and MySQL5 in Unity and running into a problem. What's happening is that with any varchar field, the generated files are dividing the length of the field by 3 and placing a maxlength value 1/3 of what it's supposed to be in the generated cfqueryparam tags. So for instance, i have a varchar 35 for a UUID named subscriberId, and the query params in the generated files come out like this:
<cfqueryparam cfsqltype="cf_sql_varchar"
maxlength="11"
value="#arguments.to.subscriberId#"
/>
Then the insert or update throws an error. This looks like a bug of some sort to me, unless someone can tell me what i might be doing wrong? I'll submit it as such unless someone says something to the contrary.
thanks,
Nando
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
[email protected]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
- [Reactor for CF] MySQL5 cfqueryparam maxlength attribute wr... Nando
