Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Jul 6, 2012
  1. @rafaelfranca

    Merge pull request #6985 from sidonath/disable-query-cache-for-locks

    rafaelfranca authored
    Disable query cache for lock queries
Commits on Jun 28, 2012
  1. @carlosantoniodasilva

    Merge pull request #6900 from cbandy/issue-6898

    carlosantoniodasilva authored
    Require URI in ConnectionSpecification
Commits on May 23, 2012
  1. Synchronize the ConnectionPool#release method to avoid thread safety …

    Andrew Selder authored
    …issues [#6464]
    Fixes #6464
    Synchronize the contents of the release method in ConnectionPool due to
    errors when running in high concurrency environments.
        Detected invalid hash contents due to unsynchronized modifications
    with concurrent users
        org/jruby/ `keys'
Commits on May 19, 2012
  1. @tenderlove

    Merge pull request #6398 from pmahoney/threadsafe-connection-pool

    tenderlove authored
    Synchronize read and modification of @reserved_connections
Commits on May 9, 2012
  1. @carlosantoniodasilva

    Stop showing deprecations for Ruby 1.8.7 with remove_column

    carlosantoniodasilva authored
    String is Enumerable in 1.8.7, which means that passing a String to
    remove_column was generating deprecation warnings during tests.
Commits on May 2, 2012
  1. @drogus
Commits on Mar 13, 2012
  1. @jrochkind

    ConnectionPool.checkout takes account of ruby using 'non-blocking con…

    jrochkind authored
    …dition variables' in mutex ConditionVariables
Commits on Mar 12, 2012
  1. @tenderlove
  2. @jrochkind

    inline docs for clear_active_connections! no longer says it cleans de…

    jrochkind authored
    …ad threads, it doesn't since 3.2.0
Commits on Mar 8, 2012
  1. @tenderlove

    make active_connection? return true only if there is an open connecti…

    tenderlove authored
    …on in use for the current thread. fixes #5330
Commits on Mar 2, 2012
  1. @fxn

    revert setting NOT NULL constraints in add_timestamps

    fxn authored
    Commit 3dbedd2 added NOT NULL constraints both to table
    creation and modification. For creation the new default
    makes sense, but the generic situation for changing a
    table is that there exist records. Those records have
    no creation or modification timestamps, and in the
    general case you don't even know them, so when updating
    a table these constraints are not going to work. See
    a bug report for this use case in #3334.
Commits on Feb 26, 2012
  1. @rafaelfranca @tenderlove

    Revert "No need to pass options which is never used"

    rafaelfranca authored tenderlove committed
    Options is needed for some Rails extensions to determine when
    referential integrity should be disabled
    This reverts commit bcb466c.
    Fixes #5052
Commits on Feb 22, 2012
  1. @tenderlove
Commits on Feb 3, 2012
  1. @skult

    Fix Issue #4819

    skult authored
    'uninitialized constant ActiveRecord::Deprecation in Rails3.2.1'
    Just a typo of 'ActiveSupport::...'
Commits on Jan 30, 2012
  1. @fxn
Commits on Dec 29, 2011
  1. @joliss @vijaydev

    Document that index names are made up of all columns, not just the fi…

    joliss authored vijaydev committed
    index_name has been using the following expression
        "index_#{table_name}_on_#{Array.wrap(options[:column]) * '_and_'}"
    since at least 2006 (bc7f231), and that's how they come out in my DB.
    Please check that this is correct before merging into master, perhaps
    I'm misunderstanding the section I changed.
Commits on Dec 13, 2011
  1. @jonleighton

    Revert naive O(1) table_exists? implementation.

    jonleighton authored
    It was a bad idea to rescue exceptions here. This can interfere with
    transaction rollbacks which seems to be the cause of current CI
    Instead, each adapter should implement its own DB-specific O(1)
    implementation, and we fall back on the generic, slower, implementation
Commits on Dec 9, 2011
  1. @tenderlove

    don't need a begin / end.

    tenderlove authored
  2. @tenderlove
Commits on Dec 8, 2011
  1. @tenderlove
  2. @vijaydev

    fix nodocs

    vijaydev authored
  3. @vijaydev

    fix comments

    vijaydev authored
  4. @tenderlove
  5. @tenderlove
  6. @tenderlove
Commits on Dec 7, 2011
  1. @tenderlove
Commits on Dec 5, 2011
  1. @tenderlove
  2. @jadeforrest

    Speed up table_exists? for databases with a large number of tables

    jadeforrest authored
    At New Relic, we have hundreds of thousands of tables, and our migrations took 30 minutes without this similar patch. This cuts it down to a more reasonable amount of time.
    The rescue false part is ugly, but necessary as far as I can tell. I don't know of a cross-database statement you can make that will work without trapping errors.
Commits on Nov 29, 2011
  1. @tenderlove

    push synchronization in to each method. Reduces method calls and makes

    tenderlove authored
    it clear which methods are synchronized.
  2. @tenderlove

    Automatic closure of connections in threads is deprecated. For example

    tenderlove authored
    the following code is deprecated: { Post.find(1) }.join
    It should be changed to close the database connection at the end of
    the thread: {
    Only people who spawn threads in their application code need to worry
    about this change.
  3. @tenderlove
  4. @tenderlove
  5. @tenderlove
  6. @tenderlove
  7. @jonleighton
Something went wrong with that request. Please try again.