Status/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Raymond Camden / Raymond Camden (Raymond Camden)
Created: 10/09/2014
Components: Language
Versions: 11.0
Failure Type:
Found In Build/Fixed In Build: CF11_Final / CF11 Update5
Priority/Frequency: Major / Most users will encounter
Locale/System: English / Mac All
Vote Count: 4
If you run queryExecute in a thread, the result is undefined:
<cfscript>
data = querynew("id", "varchar", [{id:"a"}, {id:"b"}]);
cfthread(name="d1") {
thread.result = queryExecute("select * from data", {}, {dbtype:"query"});
}
cfthread(name="d2") {
var result = queryExecute("select sleep(2), title from tblblogentries limit 0,1", {}, {datasource:"myblog"});
thread.foo = 1;
thread.result = result;
}
cfthread(action="join",name="d1,d2");
writedump(cfthread);
</cfscript>
<cfdump var="#variables#" showudfs="false" >
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3836820
External Customer Info:
External Company:
External Customer Name: cfjedimaster
External Customer Email:
External Test Config: My Hardware and Environment details:
Attachments:
Comments: