[thelist] Nested Queries (long example code)

Joshua Olson joshua at waetech.com
Wed Aug 21 18:53:00 CDT 2002


For those of you who looked at the CF code, two lines will have to be
swapped to make the code work under all cases:

<cfset t = StructInsert(used_groups, group_id, group_id, "0")>
<cfset t = StructDelete(groups, group_id)>

Will become:

<cfset t = StructDelete(groups, group_id)>
<cfset t = StructInsert(used_groups, group_id, group_id, "0")>

Sorry about the bum code.  :-)  Using the original code, the group could
stay in the "to be processed" group stack indefinitely.  In the revised
code, it is removed before the group is tested to see if it's already been
processed.

-joshua




More information about the thelist mailing list