Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Changeset [089251581137b041828a7e6dcbf75ecbef55b4a3] by Pratik Naik

Revision 089251581137b041828a7e6dcbf75ecbef55b4a3, committed by Repository · May 20th, 2008 @ 11:10 AM

Ensure add_column gives valid error for sqlite. [Gunnar Wolf, Pratik] [#197 state:resolved]

SQLite#add_column executes "VACUUM", which fails if inside a live transaction. This patch

ensures a valid exception is raised if add_column is executed within a live transaction for

sqlite adapter.

http://github.com/rails/rails/co...

2 changed files

  • M activerecord/lib/active_record/connection_adapters/sqlite_adapter.rb
  • M activerecord/test/cases/transactions_test.rb