aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/connection_adapters/abstract_mysql_adapter.rb
Commit message (Collapse)AuthorAgeFilesLines
* removing deprecated methodsAaron Patterson2011-11-191-4/+0
|
* adding visitors to the respective adaptersAaron Patterson2011-11-191-0/+1
|
* Use `show index from`. We could fix `pk_and_sequence_for` method's ↵kennyj2011-11-191-18/+2
| | | | performance problem (GH #3678)
* Only used detailed schema introspection when doing a schema dump.Christos Zisopoulos2011-11-181-0/+7
| | | Fixes #3678
* Join method uses empty string by default, so remove itAaron Patterson2011-11-161-2/+2
|
* 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.