mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
rb_thread_select should always be used in DB drivers when available.
This commit is contained in:
parent
1ddbb216ea
commit
941844cbe5
1 changed files with 1 additions and 1 deletions
|
@ -930,7 +930,7 @@ module ActiveRecord
|
|||
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
|
||||
|
|
Loading…
Reference in a new issue