This project is archived and is in readonly mode.

#4988 ✓resolved
Aaron Patterson

catch_schema_changes in the sqlite3 adapter doesn't actually do anything

Reported by Aaron Patterson | June 27th, 2010 @ 01:05 AM | in 3.x

catch_schema_changes in the sqlite3 adapter is supposed to catch "database schema changed" exceptions, reconnect to the database, then retry the statement. The implementation of reconnect! for the sqlite adapter simply uses the abstract adapter's reconnect method. The abstract reconnect method doesn't do anything to the sqlite adapter. If people were actually getting this error, they would end up in an infinite loop.

The attached patch removes that method.

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>

Attachments

Tags

Referenced by

Pages