This project is archived and is in readonly mode.
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
-
Repository December 30th, 2008 @ 03:18 AM
- State changed from new to resolved
(from [220dff4c3b58b7becb587ee6f2434b2ca720f7c3]) Add transaction check to SQLite2 adapter to fix test_sqlite_add_column_in_transaction_raises_statement_invalid [#1669 state:resolved]
Signed-off-by: Pratik Naik pratiknaik@gmail.com http://github.com/rails/rails/co...
-
Repository February 2nd, 2009 @ 07:57 PM
(from [abfa46e3a6ba0e91f377a073d208f31f99a7a008]) Add transaction check to SQLite2 adapter to fix test_sqlite_add_column_in_transaction_raises_statement_invalid [#1669 state:resolved]
Signed-off-by: Pratik Naik pratiknaik@gmail.com http://github.com/rails/rails/co...
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
- 1669 SQLite 2 Adapter should not try to add columns while in a transaction (from [220dff4c3b58b7becb587ee6f2434b2ca720f7c3]) Add tra...
- 1669 SQLite 2 Adapter should not try to add columns while in a transaction (from [abfa46e3a6ba0e91f377a073d208f31f99a7a008]) Add tra...