This project is archived and is in readonly mode.
Changeset [089251581137b041828a7e6dcbf75ecbef55b4a3] by Pratik Naik
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.
Committed by Repository
- M activerecord/lib/active_record/connection_adapters/sqlite_adapter.rb
- M activerecord/test/cases/transactions_test.rb
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>