aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb
Commit message (Collapse)AuthorAgeFilesLines
...
* just check in all connectionsAaron Patterson2011-11-281-6/+2
|
* pools are 1:1 with spec now rather than 1:1 with classAaron Patterson2011-11-281-3/+6
|
* oops! I suck! :bomb:Aaron Patterson2011-11-201-1/+0
|
* pushing caching and visitors down to the connectionAaron Patterson2011-11-191-77/+31
|
* Fix pull request #3609Noé Froidevaux2011-11-131-1/+1
|
* Prevent multiple SHOW TABLES calls when a table don't exists in database.Noé Froidevaux2011-11-111-3/+3
|
* use thread locals and an instance variable within QueryCache#BodyProxy to ↵Mark J. Titorenko2011-10-071-1/+1
| | | | maintain appropriate linkage with AR database connection across threads
* Merge pull request #2897 from rsutphin/ar31-remove_connectionAaron Patterson2011-09-061-1/+1
| | | | Patch for issue #2820
* Make it the responsibility of the connection to hold onto an ARel visitor ↵Jon Leighton2011-08-081-4/+15
| | | | for generating SQL. This improves the code architecture generally, and solves some problems with marshalling. Adapter authors please take note: you now need to define an Adapter.visitor_for method, but it degrades gracefully with a deprecation warning for now.
* cache column defaults for AR object instantiationAaron Patterson2011-06-271-0/+9
|
* Fix inconsistencies by being polite to the wrapped body. Needed for ↵Steve Hodgkiss2011-06-181-0/+8
| | | | Rack::Sendfile to function properly. See issue #1761.
* Allow the connection pool's #table_exists? method to give the connections ↵Ken Collins2011-06-101-0/+1
| | | | #table_exists? method a chance.
* Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-05-251-1/+1
|\ | | | | | | | | | | Conflicts: actionmailer/lib/action_mailer/base.rb activesupport/lib/active_support/core_ext/kernel/requires.rb
| * Remove extra white spaces on ActiveRecord docs.Sebastian Martinez2011-05-231-1/+1
| |
* | Remove extra white-space on some exception messages.Sebastian Martinez2011-05-231-1/+1
|/
* Fixed punctuation errors.Sebastian Martinez2011-04-221-4/+4
|
* make sure that active connections are not cleared during test when an ↵Aaron Patterson2011-03-291-2/+4
| | | | exception happens
* clearing active connections in the ConnectionManagement middleware if an ↵Aaron Patterson2011-03-291-0/+3
| | | | exception happens
* proxy body responses so we close database connections after body is flushedAaron Patterson2011-03-291-7/+24
|
* adding active_connections? to the connection pool for finding open connectionsAaron Patterson2011-03-281-0/+6
|
* adding active_connection? to the connection poolAaron Patterson2011-03-281-0/+6
|
* primary keys should not be cleared on cache clear, fixing oracle testsAaron Patterson2011-02-081-2/+0
|
* the connection pool caches table_exists? callsAaron Patterson2011-02-071-8/+14
|
* adjust query counts to be consistent across databases, make sure database ↵Aaron Patterson2011-02-041-5/+9
| | | | log the same things
* column cache now lives on the connection poolAaron Patterson2011-02-041-1/+5
|
* almost fistedAaron Patterson2011-02-041-0/+7
|
* making sure primary key is set on the columnsAaron Patterson2011-02-041-1/+9
|
* connection pool can cache column, table, and primary key informationAaron Patterson2011-02-041-0/+34
|
* Use run_callbacks; the generated _run_<name>_callbacks method is not a ↵John Firebaugh2011-01-311-1/+1
| | | | | | public interface. Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Don't depend on rubygems loading thread (for Mutex)raggi2010-11-251-0/+1
|
* removing false commentAaron Patterson2010-10-071-2/+0
|
* fix ruby 1.9 deadlock problem, fixes #5736 add connection pool testsHemant Kumar2010-10-061-8/+6
|
* removing useless ternaryAaron Patterson2010-08-191-1/+1
|
* refactor if / else to ||=Aaron Patterson2010-08-181-5/+1
|
* Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵Santiago Pastorino2010-08-141-1/+1
| | | | 's/[ \t]*$//' -i {} \;)
* reduce the number of times current_connection_id is called in with_connection()Aaron Patterson2010-08-061-4/+5
|
* unfactoring clear_stale_cached_connections!Aaron Patterson2010-07-161-16/+7
|
* only test for existence of +pool+ onceAaron Patterson2010-07-161-2/+4
|
* use an attr_reader for performanceAaron Patterson2010-07-161-4/+2
|
* Fix connection reloading in development mode. [#4929 state:resolved]Edgars Beigarts2010-06-221-1/+3
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* edit pass: the names of Rails components have a space, ie, "Active Record", ↵Xavier Noria2010-06-141-6/+6
| | | | not "ActiveRecord"
* Whoops. _run_*_callbacks is privatewycats2010-06-041-1/+1
|
* Use faster form of running callbackswycats2010-06-041-1/+1
|
* Expose connections available in the connection pool.José Valim2010-01-111-1/+1
|
* Modify connection pool callbacks to be compatible w/ new styleNick Sieger2009-10-161-6/+8
| | | | Signed-off-by: Yehuda Katz <wycats@gmail.com>
* Merge docrailsPratik Naik2009-07-251-1/+1
|
* Cherry-pick core extensionsJeremy Kemper2009-05-131-0/+1
|
* Ensure ActiveRecord::Base.connection_pool.with_connection creates a new ↵steve2009-05-011-5/+6
| | | | | | connection only when needed [#1752 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Ensure ActiveRecord session store's connections are checked in after each ↵Joshua Peek2009-02-241-0/+16
| | | | request [#1927 state:resolved]
* Timeout the connection pool monitor on ruby 1.8 onlyJeremy Kemper2008-11-081-3/+11
|