lib/jvertica.rb in jvertica-0.2.1 vs lib/jvertica.rb in jvertica-0.2.2
- old
+ new
@@ -134,9 +134,10 @@
case query
when %r{\A\s*copy}miu then return stmt.execute(query)
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*alter}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