Fix warning on 1.8

git-svn-id: file:///home/svn/framework3/trunk@7982 4d416f70-5f16-0410-b530-b9f4589650da
This commit is contained in:
HD Moore 2009-12-26 09:01:08 +00:00
parent 1a818ebf77
commit c8e60da5ee
1 changed files with 1 additions and 1 deletions

View File

@ -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