Skip to content

Commit

Permalink
Remove reference to fformat to restore support for postgres gem.
Browse files Browse the repository at this point in the history
  • Loading branch information
NZKoz committed Oct 26, 2008
1 parent ef9b6b5 commit 9e2bb2c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ def result_as_array(res) #:nodoc:
unescape_col = [] unescape_col = []
for j in 0...res.nfields do for j in 0...res.nfields do
# unescape string passed BYTEA field (OID == 17) # unescape string passed BYTEA field (OID == 17)
unescape_col << ( res.fformat(j)==0 and res.ftype(j)==17 ) unescape_col << ( res.ftype(j)==17 )
end end


ary = [] ary = []
Expand Down

0 comments on commit 9e2bb2c

Please sign in to comment.