aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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}"