diff options
author | Pratik Naik <pratiknaik@gmail.com> | 2008-05-20 11:10:38 +0100 |
---|---|---|
committer | Pratik Naik <pratiknaik@gmail.com> | 2008-05-20 11:10:38 +0100 |
commit | 089251581137b041828a7e6dcbf75ecbef55b4a3 (patch) | |
tree | 6f39bcaf9c8c4ca8df27660277ed271eee2a64a0 /activerecord/test/cases/aggregations_test.rb | |
parent | 1b0128c5413ace12dee45e9db328cff866a5bb06 (diff) | |
download | rails-089251581137b041828a7e6dcbf75ecbef55b4a3.tar.gz rails-089251581137b041828a7e6dcbf75ecbef55b4a3.tar.bz2 rails-089251581137b041828a7e6dcbf75ecbef55b4a3.zip |
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.
Diffstat (limited to 'activerecord/test/cases/aggregations_test.rb')
0 files changed, 0 insertions, 0 deletions