Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ def fetch(options = {})
key = col_metadata.data_type
case key.to_s.downcase
when "char"
col_value = col.to_s.rstrip
col_value = col.to_s.rstrip unless col_value.nil?
end
end
col_index = col_index + 1
Expand Down Expand Up @@ -207,7 +207,7 @@ def select(sql, name = nil, return_column_names = false)
key = col_metadata.data_type
case key.to_s.downcase
when "char"
col_value = col_value.to_s.rstrip
col_value = col_value.to_s.rstrip unless col_value.nil?
end
end
hash[col] = col_value
Expand Down