On 6/5/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>
> Shouldn't the Rails MySQL driver escape all identifiers with
> backquotes or something equivalent?


It should, but looks like it fails to do so with the name of the table
("references") in the CREATE TABLE statement. In fact, if you look at the
MySQL adapter, most of the table-related operations use the plain string for
the table name, while it carefully escapes column names with
quote_column_name.

You can try to patch it with unit tests. It shouldn't be too difficult, you
just have to make sure you have enough test coverage not to miss on some
operation.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to