aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2010-10-18 09:44:23 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2010-10-26 13:44:10 -0700
commit28a18b59885913682ffb1bceb87694eccd217df2 (patch)
treecbba9fa0cb369a5a809e67dc2cfe63c1286c837d /activerecord/lib
parent03e4ea5290ea4237474d9fd0c59e6bbb7e494fcb (diff)
downloadrails-28a18b59885913682ffb1bceb87694eccd217df2.tar.gz
rails-28a18b59885913682ffb1bceb87694eccd217df2.tar.bz2
rails-28a18b59885913682ffb1bceb87694eccd217df2.zip
folding async_exec to exec
Diffstat (limited to 'activerecord/lib')
-rw-r--r--activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb7
1 files changed, 0 insertions, 7 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb b/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb
index 4fd24ff857..5e46f6994c 100644
--- a/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb
+++ b/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb
@@ -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}"