Permalink
Browse files

rb_thread_select should always be used in DB drivers when available.

  • Loading branch information...
1 parent 1ddbb21 commit 941844cbe503c312692e2f78d61abaca5b4896b1 @carllerche carllerche committed Oct 13, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb
@@ -930,7 +930,7 @@ def connect
PGconn.translate_results = false if PGconn.respond_to?(:translate_results=)
# Ignore async_exec and async_query when using postgres-pr.
- @async = @config[:allow_concurrency] && @connection.respond_to?(:async_exec)
+ @async = @connection.respond_to?(:async_exec)
# Money type has a fixed precision of 10 in PostgreSQL 8.2 and below, and as of
# PostgreSQL 8.3 it has a fixed precision of 19. PostgreSQLColumn.extract_precision

0 comments on commit 941844c

Please sign in to comment.