At 08:24 AM 3/14/01 -0500, Raymond Camden wrote:
>Jim, is there any reason why you _didnt_ apply the Duplicate hotfix? (Sorry
>if I missed it earlier in the thread.)
Hi Raymond, I installed the hotfix and the issue remains. How do I report
a bug? Or does this count? :) Here is the code to reproduce (this is
simpler than what I posted yesterday, as referencing caller scope isn't
necessary to reproduce):
<cfset q_temp = QueryNew("field1,field2")>
<cfloop index="i" from="1" to="200">
<cfset QueryAddRow(q_temp)>
<cfset QuerySetCell(q_temp, "field1", "#i#")>
<cfset QuerySetCell(q_temp, "field2", "test")>
</cfloop>
<cfset q_temp2 = duplicate(q_temp)>
<cfa_dump var="#q_temp2#">
In my experience, the first execution of the test will work, but subsequent
executions will report a pretty low-level error (it seems). Cycling
services at this point produces a Dr. Watson error in cfserver.exe.
The problem seems to be in the Duplicate() function, because if you remove
it like so:
<cfset q_temp2 = q_temp>
.. . . everything works fine (except, according to posts in this thread,
you're creating a pointer rather than copy, which isn't really the same thing).
I tried this will smaller queries (10 records), and the problem remained.
Thanks!
Jim
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
------------------------------------------------------------------------------
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/spectra_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.