This project is archived and is in readonly mode.
remove_index doesn't quote table_name
Reported by Simon | March 31st, 2010 @ 12:22 AM
in lib/active_record/connection_adapters/abstract/schema_statements.rb in the method "def remove_index" the used table_name isn't quoted with quote_table_name() so with MySQL and table name "keys" add_index can create indexes but can't remove them.
Comments and changes to this ticket
-
Simon March 31st, 2010 @ 12:28 AM
- no changes were found...
-
Simon March 31st, 2010 @ 12:29 AM
- Tag changed from mysql db index to mysql db index, patch
-
Simon March 31st, 2010 @ 01:04 PM
- Tag changed from mysql db index, patch to db, index, mysql, patch
-
Repository April 6th, 2010 @ 03:17 AM
- State changed from new to resolved
(from [1d7368200f7ae39e2f058d0b8a31b63f914ed0a2]) remove_index now uses quote_table_name() [#4300 state:resolved]
Signed-off-by: Michael Koziarski michael@koziarski.com
http://github.com/rails/rails/commit/1d7368200f7ae39e2f058d0b8a31b6... -
Repository April 6th, 2010 @ 03:17 AM
(from [4f1d0f6b7e5718d629795b94ac12616241791334]) remove_index now uses quote_table_name() [#4300 state:resolved]
Signed-off-by: Michael Koziarski michael@koziarski.com
http://github.com/rails/rails/commit/4f1d0f6b7e5718d629795b94ac1261...
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
- 4300 remove_index doesn't quote table_name (from [1d7368200f7ae39e2f058d0b8a31b63f914ed0a2]) remove_...
- 4300 remove_index doesn't quote table_name (from [4f1d0f6b7e5718d629795b94ac12616241791334]) remove_...