Permalink
Commits on Mar 8, 2012
  1. Add failing unit test. Modify the visit_Arel_Nodes_SelectStatementWit…

    …hOutOffset to create workaround and produce passing tests.
    committed Mar 8, 2012
Commits on Feb 23, 2012
Commits on Feb 8, 2012
Commits on Jan 21, 2012
  1. Add support for 2012.

    metaskills committed Jan 21, 2012
  2. Prepare for 3.2.0 release.

    metaskills committed Jan 21, 2012
Commits on Jan 5, 2012
  1. Passing 3.2.0.rc2

    metaskills committed Jan 5, 2012
Commits on Jan 2, 2012
Commits on Dec 30, 2011
  1. Remove our log_info_schema_queries config since we are not hooking pr…

    …operly into AR's 'SCHEMA' names.
    metaskills committed Dec 30, 2011
  2. Properly use 'SCHEMA' name arguement in DB statements to comply with …

    …ActiveRecord::ExplainSubscriber::IGNORED_PAYLOADS.
    metaskills committed Dec 30, 2011
Commits on Dec 29, 2011
  1. Update changelog.

    metaskills committed Dec 29, 2011
  2. Initial 3.2 compatability. All tests green.

      * Make use of the new ConnectionAdapters::SchemaCache for our needs.
      * New Sqlserver::Utils class for out helpers. Moved table name unquotes there.
    metaskills committed Dec 29, 2011
Commits on Dec 27, 2011
  1. Better support for orders with an expression. Fixes #155. [Jason Frey…

    …, Joe Rafaniello]
    
      * Use String#mb_chars in a few places just in case SQL is unicode and needed.
      * Added some Regexp foo (best I can) that allows functions with commas to pass
        through unmolested. Oh the days when Regexp's littered the whole adapter :)
    metaskills committed Dec 27, 2011
  2. Added failing test for inline functions with parameters. This fails b…

    …ecause custom ordering code splits on comma.
    jrafanie committed with metaskills Dec 7, 2011
  3. Fix custom order method which created invalid syntax for order by cla…

    …uses containing case expressions, inline functions or other non-column expressions. Moved ordering tests into a new test file.
    jrafanie committed with metaskills Dec 7, 2011
Commits on Dec 2, 2011
  1. Merge pull request #151 from ManageIQ/update_credits

    Update credits
    metaskills committed Dec 2, 2011
  2. Update credits

    jrafanie committed Dec 2, 2011
Commits on Nov 30, 2011
  1. Misc test changes.

    * Update TinyTDS test to 0.5.1.rc1
    * Fix missing should context for table name.
    * Specific perm note in testing setup.
    metaskills committed Nov 30, 2011
  2. Releasing version 3.1.4.

    metaskills committed Nov 30, 2011
Commits on Nov 29, 2011
  1. Refactor dead lock victim retry code.

      * Put custom #transaction method into core ext module.
      * Our #transaction method does not bind &block but yields in anonymous block.
      * Organize connection tests with context block at bottom.
    metaskills committed Nov 29, 2011
  2. Merge pull request #150 from ManageIQ/retry_deadlock_victim_error

    Retry deadlock victim error
    metaskills committed Nov 29, 2011
Commits on Nov 28, 2011
  1. translate_exception is already called in the log block, which accounts

    for most if not all queries we want to retry, so assume it has been translated.
    jrafanie committed Nov 28, 2011
  2. Renamed #with_auto_reconnect to #with_sqlserver_error_handling now th…

    …at it handles both dropped
    
    connections and deadlock victim errors.
    jrafanie committed Nov 28, 2011
  3. If retry_deadlock_victim flag is false, call the original transaction…

    … method, otherwise, call our version of the transcation method with deadlock_victim retry logic.
    jrafanie committed Nov 28, 2011
Commits on Nov 23, 2011
  1. Merge pull request #149 from ManageIQ/dont_hit_db_on_inspect

    Don't hit the database on inspect and run the selects without retry and log blocks.
    metaskills committed Nov 23, 2011
  2. Handle deadlock victim errors in the outermost transaction by skippin…

    …g the rollback_db_transaction (since SQL Server issues it automatically) and retry the whole transaction if the retry_deadlock_victim flag is enabled (default).
    jrafanie committed Nov 23, 2011
Commits on Nov 21, 2011
  1. Copied transaction method from rails 3-1-stable connection_adapters/a…

    …bstract/database_statements.rb for adding in handling of deadlock victim exception.
    jrafanie committed Nov 21, 2011
  2. Handle deadlock victim (1205) exceptions outside of a transactions by…

    … retrying the query.
    
    Add SQLServerAdapter.retry_deadlock_victim option to disable this handling.
    jrafanie committed Nov 21, 2011