When calling Ns_TclEnterSet, I'm confused about how to choose between NS_TCL_SET_TEMPORARY (0) and NS_TCL_SET_DYNAMIC (1).
When I look at NsTclDbCmd (in dbtcl.c, AOLserver 3.3+ad13), I see that it uses NS_TCL_SET_TEMPORARY in Ns_Db0or1Row, but NS_TCL_SET_DYNAMIC in Ns_DbSelect. This seems CORRECT, because Ns_Db0or1Row calls Ns_DbSelect and then creates a new ns_set with Ns_SetCopy, while Ns_DbSelect simply returns a pointer to the Ns_set that's part of the database Handle struct. What I don't understand is WHY it's done that way. Why does Ns_Db0or1Row create a new ns_set, while Ns_DbSelect doesn't? Does it have something to do with whether or not we're returning actual rows to Tcl? -- Andrew Piskorski <[EMAIL PROTECTED]> http://www.piskorski.com
