Status/Resolution/Reason: Closed/Fixed/Fixed
Reporter/Name(from Bugbase): Victor Bondarenko / Victor Bondarenko ()
Created: 06/01/2017
Versions: 2016
Failure Type: Data Corruption
Found In Build/Fixed In Build: 2016,0,04,302561 / 303574
Priority/Frequency: Normal /
Locale/System: / Linux
Vote Count: 2
Problem Description:
Changes to cached queries are persisted back into the cache. Earlier versions of ColdFusion did not do this.
Steps to Reproduce:
Sample code:
<cfquery datasource="ds" name="rs" cachedwithin="#createtimespan(0,0,5,0)#">
SELECT 123 AS value
</cfquery>
<cfset rs.value = 999>
<cfquery datasource="ds" name="rs" cachedwithin="#createtimespan(0,0,5,0)#">
SELECT 123 AS value
</cfquery>
<cfoutput>#rs.value#</cfoutput>
Actual Result:
999
Expected Result:
123
Any Workarounds:
Attachments:
Comments: