diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2010-10-18 09:44:23 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2010-10-26 13:44:10 -0700 |
commit | 28a18b59885913682ffb1bceb87694eccd217df2 (patch) | |
tree | cbba9fa0cb369a5a809e67dc2cfe63c1286c837d | |
parent | 03e4ea5290ea4237474d9fd0c59e6bbb7e494fcb (diff) | |
download | rails-28a18b59885913682ffb1bceb87694eccd217df2.tar.gz rails-28a18b59885913682ffb1bceb87694eccd217df2.tar.bz2 rails-28a18b59885913682ffb1bceb87694eccd217df2.zip |
folding async_exec to exec
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb | 7 |
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}" |