SQL Keywords to be in UPPERCASE
This commit is contained in:
parent
6a71d09ad2
commit
46a0eacef8
@ -167,6 +167,6 @@ def self.email
|
||||
end
|
||||
|
||||
x.report "AR.execute(query)" do
|
||||
ActiveRecord::Base.connection.execute("Select * from exhibits where id = #{(rand * 1000 + 1).to_i}")
|
||||
ActiveRecord::Base.connection.execute("SELECT * FROM exhibits WHERE id = #{(rand * 1000 + 1).to_i}")
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user