lib/jvertica.rb in jvertica-0.1.5 vs lib/jvertica.rb in jvertica-0.1.6
- old
+ new
@@ -93,9 +93,10 @@
when %r{\A\s*insert}miu then return stmt.executeUpdate query
when %r{\A\s*update}miu then return stmt.executeUpdate query
when %r{\A\s*delete}miu then return stmt.executeUpdate query
when %r{\A\s*drop}miu then return stmt.execute query
when %r{\A\s*create}miu then return stmt.execute query
+ when %r{\A\s*set}miu then return stmt.execute query
else rs = stmt.executeQuery query
end
if block_given?
ResultSet.new(rs).each do |row|