aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/connection_adapters/abstract_mysql_adapter.rb
Commit message (Collapse)AuthorAgeFilesLines
* adds trailing +s to the output of EXPLAIN for MySQLXavier Noria2011-11-071-3/+2
|
* implements AR::Relation#explainXavier Noria2011-11-051-0/+75
| | | | | | | | | | | | | | | | | | | This is a first implementation, EXPLAIN is highly dependent on the database and I have made some compromises. On one hand, the method allows you to run the most common EXPLAIN and that's it. If you want EXPLAIN ANALYZE in PostgreSQL you need to do it by hand. On the other hand, I've tried to construct a string as close as possible to the ones built by the respective shells. The rationale is that IMO the user should feel at home with the output and recognize it at first sight. Per database. I don't know whether this implementation is going to work well. Let's see whether people like it.
* Merge pull request #3525 from kennyj/fix_3440-1Jon Leighton2011-11-051-2/+11
|\ | | | | Fixed an issue id false option is ignored on mysql/mysql2 (fix #3440)
| * Fixed an issue id false option is ignored on mysql/mysql2 (fix #3440)kennyj2011-11-061-2/+11
| |
* | AR changes to support creating ordered (asc, desc) indexesVlad Jebelev2011-11-041-9/+27
|/
* Only use LOWER for mysql case insensitive uniqueness check when column has a ↵Joseph Palermo2011-10-091-4/+23
| | | | case sensitive collation.
* Move the bulk alter table code into the abstract mysql adapter, hence it is ↵Jon Leighton2011-08-291-0/+42
| | | | supported for mysql2 as well now.
* Extract simplified_type into the abstract classJon Leighton2011-08-291-1/+18
|
* Create an AbstractMysqlAdapter to abstract the common code between ↵Jon Leighton2011-08-291-0/+552
MysqlAdapter and Mysql2Adapter.