folding async_exec to exec

This commit is contained in:
Aaron Patterson 2010-10-18 09:44:23 -07:00
parent 03e4ea5290
commit 28a18b5988
1 changed files with 0 additions and 7 deletions

View File

@ -521,13 +521,6 @@ module ActiveRecord
end
def exec(sql, name = 'SQL', binds = [])
return async_exec(sql, name, binds) if @async
log(sql, name) do
end
end
def async_exec(sql, name, binds)
log(sql, name) do
unless @statements.key? sql
nextkey = "a#{@statements.length + 1}"