Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #4763 from kennyj/fix_4754 | Jon Leighton | 2012-01-31 | 1 | -1/+1 |
| | | | | [MySQL] Fix GH #4754. Remove double-quote characters around PK when using sql_mode=ANSI_QUOTES | ||||
* | Revert naive O(1) table_exists? implementation. | Jon Leighton | 2011-12-13 | 1 | -5/+8 |
| | | | | | | | | | | It was a bad idea to rescue exceptions here. This can interfere with transaction rollbacks which seems to be the cause of current CI failure. Instead, each adapter should implement its own DB-specific O(1) implementation, and we fall back on the generic, slower, implementation otherwise. | ||||
* | Use show create table. | kennyj | 2011-12-03 | 1 | -3/+8 |
| | |||||
* | implements automatic EXPLAIN logging for slow queries | Xavier Noria | 2011-12-02 | 1 | -74/+0 |
| | |||||
* | removing deprecated methods | Aaron Patterson | 2011-11-19 | 1 | -4/+0 |
| | |||||
* | adding visitors to the respective adapters | Aaron Patterson | 2011-11-19 | 1 | -0/+1 |
| | |||||
* | Use `show index from`. We could fix `pk_and_sequence_for` method's ↵ | kennyj | 2011-11-19 | 1 | -18/+2 |
| | | | | performance problem (GH #3678) | ||||
* | Only used detailed schema introspection when doing a schema dump. | Christos Zisopoulos | 2011-11-18 | 1 | -0/+7 |
| | | | Fixes #3678 | ||||
* | Join method uses empty string by default, so remove it | Aaron Patterson | 2011-11-16 | 1 | -2/+2 |
| | |||||
* | adds trailing +s to the output of EXPLAIN for MySQL | Xavier Noria | 2011-11-07 | 1 | -3/+2 |
| | |||||
* | implements AR::Relation#explain | Xavier Noria | 2011-11-05 | 1 | -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-1 | Jon Leighton | 2011-11-05 | 1 | -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) | kennyj | 2011-11-06 | 1 | -2/+11 |
| | | |||||
* | | AR changes to support creating ordered (asc, desc) indexes | Vlad Jebelev | 2011-11-04 | 1 | -9/+27 |
|/ | |||||
* | Only use LOWER for mysql case insensitive uniqueness check when column has a ↵ | Joseph Palermo | 2011-10-09 | 1 | -4/+23 |
| | | | | case sensitive collation. | ||||
* | Move the bulk alter table code into the abstract mysql adapter, hence it is ↵ | Jon Leighton | 2011-08-29 | 1 | -0/+42 |
| | | | | supported for mysql2 as well now. | ||||
* | Extract simplified_type into the abstract class | Jon Leighton | 2011-08-29 | 1 | -1/+18 |
| | |||||
* | Create an AbstractMysqlAdapter to abstract the common code between ↵ | Jon Leighton | 2011-08-29 | 1 | -0/+552 |
MysqlAdapter and Mysql2Adapter. |