Status/Resolution/Reason: Closed/Withdrawn/Duplicate
Reporter/Name(from Bugbase): Matt Busche / Matt Busche (Matt Busche)
Created: 07/30/2014
Components: Database
Versions: 10.0
Failure Type: Data Corruption
Found In Build/Fixed In Build: Final /
Priority/Frequency: Critical / All users will encounter
Locale/System: English / Linux All
Vote Count: 0
Duplicate ID: CF-3180467
Problem Description: Running query of queries strips leading/trailing whitespace in the result set
Steps to Reproduce:
<cfset a = queryNew('colwithspaces', 'varchar', [[' ']])>
with spaces - <cfdump var="#len(a.colwithspaces)#"><br>
<cfquery name="b" dbtype="query">
SELECT colwithspaces
FROM a
</cfquery>
after QoQ - <cfdump var="#len(b.colwithspaces)#">
Actual Result: length of column is 0
Expected Result: length of column is 4
Any Workarounds: build the query manually or use Java's removeRows() function to remove rows from the original query.
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3797144
External Customer Info:
External Company:
External Customer Name: Matt Busche
External Customer Email:
External Test Config: My Hardware and Environment details:
appserver J2EE
productlevel Enterprise
productname ColdFusion Server
productversion 10,0,12,286680
additionalinformation Linux
arch x86
encoding UTF-8
name UNIX
version 2.6.32-358.23.2.el6.x86_64
Attachments:
Comments: