This project is archived and is in readonly mode.

#1669 ✓resolved
CancelProfileIsBroken

SQLite 2 Adapter should not try to add columns while in a transaction

Reported by CancelProfileIsBroken | December 30th, 2008 @ 02:49 AM | in 2.x

The SQLite3 adapter checks before trying to add a column to a table that we're not already in a transaction (which causes the add to fail). SQLite2 adapter does not. This causes test_sqlite_add_column_in_transaction_raises_statement_invalid to fail under SQLite2 only. Attached patch adds the check for SQLite2.

Comments and changes to this ticket

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>

People watching this ticket

Attachments

Referenced by

Pages