aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb
Commit message (Collapse)AuthorAgeFilesLines
* using the database adapter to typecast before executing prepared statementAaron Patterson2011-04-141-1/+1
|
* insert statements are prepared, but values are not escaped properlyAaron Patterson2011-04-141-0/+4
|
* adding client_encoding method for discovering the encoding set for this ↵Aaron Patterson2011-04-111-0/+62
| | | | client, testing exec_insert on a string
* properly name schema queries for loggingAaron Patterson2011-04-111-3/+3
|
* adding a case_sensitive_modifier for forcing comparisons to be case sensitiveAaron Patterson2011-04-111-0/+5
|
* schemas set by set_table_name are respected by the mysql adapter. [#5322 ↵Aaron Patterson2011-03-211-2/+16
| | | | state:resolved]
* log method takes an option list of bind valuesAaron Patterson2011-02-091-1/+1
|
* adjust query counts to be consistent across databases, make sure database ↵Aaron Patterson2011-02-041-1/+1
| | | | log the same things
* Add :bulk => true option to change_tablePratik Naik2011-01-311-29/+85
|
* only rescue from Mysql::Error exceptions [#6236 state:resolved]Aaron Patterson2011-01-071-4/+9
|
* herp derpricating add_limit_offset!Aaron Patterson2011-01-031-0/+1
|
* renaming exec in the mysql adapterAaron Patterson2010-11-051-2/+2
|
* renaming bind_values to binds where it makes senseAaron Patterson2010-10-261-4/+4
|
* adding backwards compatibility for non-prepare statement handling driversAaron Patterson2010-10-261-0/+6
|
* caching column valuesAaron Patterson2010-10-261-4/+11
|
* monkey patching with enumerable so we can call eachAaron Patterson2010-10-261-10/+4
|
* monkey patching Mysql::Stmt, calling free on the metadataAaron Patterson2010-10-261-4/+9
|
* free the result after slurpingAaron Patterson2010-10-261-0/+1
|
* eliminating some calls to execute()Aaron Patterson2010-10-261-5/+2
|
* statements are cached, cache is cleared on reconnectAaron Patterson2010-10-261-2/+19
|
* all mysql tests are passingAaron Patterson2010-10-261-2/+16
|
* mysql tests are mostly passingAaron Patterson2010-10-261-17/+65
|
* removing freezeAaron Patterson2010-10-111-3/+3
|
* No need to use inject here.Emilio Tagua2010-09-221-5/+5
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Missing the mysql2 gem hereSantiago Pastorino2010-09-221-1/+1
|
* Error message should advice to use 'mysql2' gem.Neeraj Singh2010-09-221-2/+2
| | | | | | | | | | | | | If I create a new app using command rails new demo -d mysql then Gemfile contains 'mysql2' gem by default. However if mysql gem is missing then error message says raise "!!! Missing the mysql gem. Add it to your Gemfile: gem 'mysql', '2.8.1'" [#5569 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* updates return number of rows matched rather than number of rows affectedAaron Patterson2010-08-191-0/+1
|
* Bug Fix -- clean up connection after stored procedure [#3151 state:resolved]Jeff Lawson2010-08-171-1/+1
|
* Bug Fix -- clean up connection after stored procedure [#3151 state:resolved]Jeff Lawson2010-08-171-0/+2
|
* Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵Santiago Pastorino2010-08-141-1/+1
| | | | 's/[ \t]*$//' -i {} \;)
* standarizes the use of the article "an" for "SQL" and "SQLite"Xavier Noria2010-08-051-1/+1
|
* ensuring that description does not exceed 100 columnsNeeraj Singh2010-08-021-1/+2
|
* Fixed many references to the old config/environment.rb and Rails::InitializerBenjamin Quorning2010-07-131-1/+1
|
* Remove block definition from method, is not needed since yield is used inside.Emilio Tagua2010-06-241-1/+1
|
* MySQL: require 2.7 or later so we can rely on result.each_hashJeremy Kemper2010-06-051-49/+8
|
* Revert "Don't carry default value when changing column for a binary type on ↵Jeremy Kemper2010-05-181-5/+1
| | | | | | | | | | | | | | MySQL" Broke mysql tests. This reverts commit edec1afe25014749f0e2df86d27477b45586a9e3. Conflicts: activerecord/test/cases/migration_test.rb [#3234 state:open]
* Don't carry default value when changing column for a binary type on MySQL ↵Elomar França2010-05-161-1/+5
| | | | | | [#3234 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Better code formatting and proper line numbers for stack tracesNeeraj Singh2010-05-141-15/+15
| | | | | | [#4596 state:resolved] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Revert "Revert "Add index length support for MySQL [#1852 state:open]""Pratik Naik2010-05-091-1/+14
| | | | This reverts commit 6626833db13a69786f9f6cd56b9f53c4017c3e39.
* Revert "Add index length support for MySQL [#1852 state:open]"José Valim2010-05-081-14/+1
| | | | | | | | | | | | | This commit breaks dumping a few tables, as the sessions table. To reproduce, just create a new application and: rake db:sessions:create rake db:migrate rake db:test:prepare And then look at the db/schema.rb file (ht: Sam Ruby). This reverts commit 5b95730edc33ee97f53da26a3868eb983305a771.
* Add index length support for MySQL [#1852 state:resolved]Emili Parreno2010-05-081-1/+14
| | | | | | | | | | | | Example: add_index(:accounts, :name, :name => 'by_name', :length => 10) => CREATE INDEX by_name ON accounts(name(10)) add_index(:accounts, [:name, :surname], :name => 'by_name_surname', :length => {:name => 10, :surname => 15}) => CREATE INDEX by_name_surname ON accounts(name(10), surname(15)) Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* adds missing requires for Object#blank? and Object#present?Xavier Noria2010-03-281-0/+1
|
* Revert "primary_key now supports :limit for MySQL". Break Sam Ruby app.José Valim2010-03-271-16/+10
| | | | | | To reproduce, start a new application, create a scaffold and run test suite. [#876 state:open] This reverts commit faeca694b3d4afebf6b623b493e86731e773c462.
* primary_key now supports :limit for MySQLRizwan Reza2010-03-271-10/+16
| | | | Signed-off-by: wycats <wycats@gmail.com>
* Revert "primary_key now supports :limit. [#876 state:resolved]" since it ↵José Valim2010-03-271-16/+10
| | | | | | broke AR test suite. This reverts commit 41e5c7ed44fedb95636ef9b7a792c46ea03309bd.
* primary_key now supports :limit. [#876 state:resolved]Rizwan Reza2010-03-271-10/+16
| | | | Signed-off-by: wycats <wycats@gmail.com>
* Better MySQL Error message. [#3775 state:resolved]Rizwan Reza2010-03-261-1/+1
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Add add_limit_offset! to adapters.Emilio Tagua2010-03-251-0/+12
|
* Silenced "SHOW FIELDS" and "SET SQL_AUTO_IS_NULL=0" statements from the ↵David Heinemeier Hansson2010-02-061-4/+8
| | | | MySQL driver to improve log signal to noise ration in development [DHH]
* Expose connections available in the connection pool.José Valim2010-01-111-0/+2
|