Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Silenced "SHOW FIELDS" and "SET SQL_AUTO_IS_NULL=0" statements from the ↵ | David Heinemeier Hansson | 2010-02-06 | 1 | -4/+8 | |
| | | | | MySQL driver to improve log signal to noise ration in development [DHH] | |||||
* | Expose connections available in the connection pool. | José Valim | 2010-01-11 | 1 | -0/+2 | |
| | ||||||
* | Add support for Mysql column positioning via #add_column and #change_column | Ben Marini | 2009-12-03 | 1 | -0/+15 | |
| | | | | | | | | | | | | | | add_column and change_column in the Mysql adapter now accept some additional options: :first => true # Put the column in front of all the columns :after => column_name # Put the colmn after 'column_name' add_column :new_col, :string, :first => true add_column :another_col, :integer, :default => 0, :after => :new_col [#3286 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | Merge commit 'rails/master' | Emilio Tagua | 2009-09-21 | 1 | -1/+4 | |
|\ | ||||||
| * | Enable use of MySQL stored procedures by default. | Justin Bailey | 2009-09-17 | 1 | -1/+4 | |
| | | | | | | | | | | | | [#3204 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | | Merge commit 'rails/master' | Emilio Tagua | 2009-09-14 | 1 | -1/+2 | |
|\| | ||||||
| * | Ruby 1.9 compat: corrected instance_methods check | sdsykes | 2009-09-13 | 1 | -1/+2 | |
| | | | | | | | | | | | | [#3156 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | | Merge commit 'rails/master' | Emilio Tagua | 2009-08-10 | 1 | -8/+17 | |
|\| | | | | | | | | | | | | | Conflicts: activerecord/lib/active_record/calculations.rb activerecord/lib/active_record/connection_adapters/mysql_adapter.rb activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb | |||||
| * | raises exception (ActiveRecord::ConfigurationError with message) on habtm ↵ | Jaime Bellmyer | 2009-08-09 | 1 | -0/+10 | |
| | | | | | | | | | | | | association creation if join table contains a primary key Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
| * | AR should respect default values for MySQL BINARY and VARBINARY columns. | Jatinder Singh | 2009-08-09 | 1 | -2/+2 | |
| | | | | | | | | | | | | [#1273 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
| * | No longer require database name for MySQL to allow cross database selects. | Tristan Dunn | 2009-08-09 | 1 | -6/+1 | |
| | | | | | | | | | | | | [#1122 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
| * | Allow connect_timeout, read_timeout and write_timeout settings for MySQL ↵ | Matt Conway | 2009-08-09 | 1 | -0/+4 | |
| | | | | | | | | | | | | [#2544 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
* | | Merge commit 'rails/master' | Emilio Tagua | 2009-06-30 | 1 | -0/+13 | |
|\| | | | | | | | | | Conflicts: activerecord/test/cases/adapter_test.rb | |||||
| * | Make sure the wrapped exceptions also have the original exception available. | Michael Koziarski | 2009-06-26 | 1 | -2/+2 | |
| | | | | | | | | [#2419 state:committed] | |||||
| * | Translate foreign key violations to ActiveRecord::InvalidForeignKey exceptions. | Michael Schuerig | 2009-06-26 | 1 | -0/+2 | |
| | | | | | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> | |||||
| * | Translate adapter errors that indicate a violated uniqueness constraint to ↵ | Michael Schuerig | 2009-06-26 | 1 | -0/+11 | |
| | | | | | | | | | | | | ActiveRecord::RecordNotUnique exception derived from ActiveReecord::StatementInvalid. Signed-off-by: Michael Koziarski <michael@koziarski.com> | |||||
* | | Removed unused methods. | Emilio Tagua | 2009-06-23 | 1 | -12/+0 | |
| | | ||||||
* | | Refactors to work with latest Arel implementation. | Emilio Tagua | 2009-06-02 | 1 | -0/+1 | |
| | | ||||||
* | | Merge commit 'rails/master' | Emilio Tagua | 2009-05-18 | 1 | -0/+1 | |
|\| | | | | | | | | | | | | | | | Conflicts: activerecord/lib/active_record/base.rb activerecord/lib/active_record/migration.rb activerecord/test/cases/helper.rb | |||||
| * | Cherry-pick core extensions | Jeremy Kemper | 2009-05-13 | 1 | -0/+1 | |
| | | ||||||
* | | construct_finder_sql now use Arel | Emilio Tagua | 2009-04-24 | 1 | -1/+1 | |
|/ | ||||||
* | Mysql#reconnect is set according to the 'reconnect' key in the connection spec. | Dov Murik | 2009-01-27 | 1 | -2/+5 | |
| | | | | | | | | | | | | The 'reconenct' boolean option is read from the connection specification and is used to set the reconnect attribute of Mysql. The default is false in order not to change existing application behaviour. Also, reconnect is set AFTER real_connect is called, so its value sticks (the mysql gem sets reconnect to false inside real_connect). Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1797 state:committed] | |||||
* | Merge branch 'master' into savepoints | Jeremy Kemper | 2009-01-10 | 1 | -15/+26 | |
|\ | ||||||
| * | Inline code comments for class_eval/module_eval [#1657 state:resolved] | Xavier Noria | 2008-12-28 | 1 | -11/+13 | |
| | | | | | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
| * | Free MySQL::Result objects after a call to execute [#1416 state:resolved] | Manfred Stienstra | 2008-12-18 | 1 | -4/+13 | |
| | | | | | | | | | | | | | | | | No freeing Result objects causes the MySQL driver to free result sets at undefined times, this can lead to erratic performance in your application. Signed-off-by: Frederick Cheung <frederick.cheung@gmail.com> | |||||
* | | Merge commit 'origin/master' into savepoints | Hongli Lai (Phusion) | 2008-12-09 | 1 | -6/+9 | |
|\| | ||||||
| * | Merge with docrails | Pratik Naik | 2008-12-07 | 1 | -6/+9 | |
| | | ||||||
| * | Revert commit which breaks all the tests. | Michael Koziarski | 2008-11-07 | 1 | -8/+4 | |
| | | | | | | | | | | | | | | | | This reverts commit 8adb79b9b5983cda8dbdd4ef401661fbd51d8844. Conflicts: activerecord/CHANGELOG | |||||
| * | Stop logging SHOW FIELDS and SET SQL_AUTO_IS_NULL=0 for the MysqlAdapter as ↵ | David Heinemeier Hansson | 2008-11-06 | 1 | -4/+8 | |
| | | | | | | | | they only clutter up the log and offer no value [DHH] | |||||
* | | Make SQLite3 pass the unit tests for savepoints. | Hongli Lai (Phusion) | 2008-11-03 | 1 | -0/+4 | |
| | | ||||||
* | | Implement savepoints. | Jonathan Viney | 2008-11-03 | 1 | -0/+11 | |
|/ | ||||||
* | don't quote decimal values for mysql. It doesn't make sense and breaks in ↵ | Aliaksey Kandratsenka | 2008-10-04 | 1 | -1/+1 | |
| | | | | | | | newer versions of mysql Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1168 state:committed] | |||||
* | Make sure recreate MySQL test database with the proper encoding and ↵ | Luca Guidi | 2008-10-03 | 1 | -2/+2 | |
| | | | | | | | collation [#1165 state:resolved] Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1165 state:committed] | |||||
* | Deal with MySQL's quirky handling of defaults and blob/text columns | Frederick Cheung | 2008-09-14 | 1 | -1/+6 | |
| | | | | | | [#1043 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | Support :limit on update_all so that has_many with :limit can be safely updated | Tarmo Tänav | 2008-09-10 | 1 | -0/+4 | |
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> | |||||
* | Remove flawed execute("ROLLBACK") approach; #reset! defaults to nothing | Nick Sieger | 2008-09-04 | 1 | -2/+0 | |
| | | | | | | Will need community help to fill out what #reset! should do for each adapter Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | Remove CachedConnectionPerThread per-thread pooling mechanism in favor of a ↵ | Nick Sieger | 2008-08-29 | 1 | -0/+5 | |
| | | | | fixed pool with default maximum of 5 connections | |||||
* | Add connection reset and verification upon each connection checkout | Nick Sieger | 2008-08-29 | 1 | -0/+9 | |
| | ||||||
* | Fix file permissions | Tarmo Tänav | 2008-07-31 | 1 | -0/+0 | |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | |||||
* | validates_uniqueness_of uses database case sensitivity support instead of ↵ | Tarmo Tänav | 2008-07-31 | 1 | -0/+4 | |
| | | | | | | using ruby Signed-off-by: Michael Koziarski <michael@koziarski.com> | |||||
* | Fixed mysql change_column_default to not make the column always nullable. | Tarmo Tänav | 2008-07-14 | 1 | -7/+26 | |
| | | | | | | Also added change_column_null to both mysql and sqlite to keep the api features closer to postgresql. [#617 state:resolved] | |||||
* | Ensure MysqlAdapter allows SSL connection when only sslca is supplied. [#253 ↵ | Micah Wedemeyer | 2008-07-11 | 1 | -2/+5 | |
| | | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
* | MySQL: treat integer with :limit => 11 as a display width, not byte size, ↵ | Jeremy Kemper | 2008-06-27 | 1 | -5/+6 | |
| | | | | for backward-compatibility. | |||||
* | Treat any limit > 4 as bigint | Jeremy Kemper | 2008-06-23 | 1 | -6/+8 | |
| | ||||||
* | Always treat integer :limit as byte length. [#420 state:resolved] | Tarmo Tänav | 2008-06-22 | 1 | -10/+11 | |
| | ||||||
* | MySQL: rename_column preserves default values. [#466 state:resolved] | Diego Algorta | 2008-06-22 | 1 | -1/+9 | |
| | ||||||
* | Enable autoreconnect if available. Freeze constants. | Jeremy Kemper | 2008-06-08 | 1 | -2/+7 | |
| | ||||||
* | Give a more informative error message instead of just raising a load error ↵ | Jeremy Kemper | 2008-06-08 | 1 | -1/+8 | |
| | | | | when mysql gem isn't installed | |||||
* | Don't append limit to primary key column definition. Freeze some constants. | Jeremy Kemper | 2008-06-08 | 1 | -15/+19 | |
| | ||||||
* | Remove vendor/mysql.rb. Deprecated in 2.1 stable, gone in 2.2. | Jeremy Kemper | 2008-06-08 | 1 | -25/+4 | |
| |