Commit 48029ff3 authored by Martin Samson's avatar Martin Samson

Fixes 'private method called for 91:Fixnum' when the tuple content is not a string

parent ee598038
......@@ -294,7 +294,7 @@ class MonetDBData
def parse_tuple(tuple)
fields =
# remove trailing "["
tuple = tuple.gsub(/^\[\s+/,'')
tuple = tuple.to_s.gsub(/^\[\s+/,'')
tuple.split(/,\t/).each do |f|
fields << f.gsub(/\\/, '').gsub(/^"/,'').gsub(/"$/,'').gsub(/\"/, '')
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment