What steps will reproduce the problem?
1. Obtain a CSV file whose field headings (first row) contains capital leters
2. Try to run a select query on that field
3. Observe the "<fieldname> is not a known field" error.
What is the expected output? What do you see instead?
I expect to be able to select columns based on field headings regardless of
their capitalization. Instead, I can only select columns whose field headings
are all lowercase in the original CSV input.
What version of the product are you using? On what operating system?
I am using r33 of this project on PHP 5.4.
Please provide any additional information below.
A patch is attached. In my limited testing, removing the strtolower() calls
wrapping the parser does not introduce other errors and resolves this issue. An
example of a CSV file where the unpatched issue is reproducible is at
http://viewportsizes.com/devices.csv
Original issue reported on code.google.com by
meit...@gmail.comon 11 May 2015 at 2:00Attachments: