Fix warning on 1.8
git-svn-id: file:///home/svn/framework3/trunk@7982 4d416f70-5f16-0410-b530-b9f4589650da
This commit is contained in:
parent
1a818ebf77
commit
c8e60da5ee
|
@ -231,7 +231,7 @@ class RbMysql
|
|||
else
|
||||
@fields = Array.new(res_packet.field_count).map{Field.new @protocol.read_field_packet}
|
||||
@protocol.read_eof_packet
|
||||
return SimpleQueryResult.new self, @fields
|
||||
return SimpleQueryResult.new(self, @fields)
|
||||
end
|
||||
rescue ServerError => e
|
||||
@sqlstate = e.sqlstate
|
||||
|
|
Loading…
Reference in New Issue