aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/connection_adapters/mysql
Commit message (Expand)AuthorAgeFilesLines
* Share the column and table name quote cache between connectionsJean Boussier2019-07-091-2/+2
* MySQL: Fix schema dumping `enum` and `set` columns correctlyRyuta Kamizono2019-07-051-1/+3
* Merge pull request #35891 from Shopify/schema-cache-deduplicationKasper Timm Hansen2019-06-191-1/+10
|\
| * Deduplicate various Active Record schema cache structuresJean Boussier2019-06-031-1/+10
* | Enable `Layout/EmptyLinesAroundAccessModifier` copRyuta Kamizono2019-06-132-2/+0
* | Allow column name with function (e.g. `length(title)`) as safe SQL stringRyuta Kamizono2019-06-101-2/+8
* | Allow `column_name AS alias` as safe SQL stringRyuta Kamizono2019-06-101-0/+1
* | Refactor `disallow_raw_sql!` to avoid `split(/\s*,\s*/)` to order argsRyuta Kamizono2019-06-091-4/+13
* | Allow quoted identifier string as safe SQL stringRyuta Kamizono2019-06-061-5/+26
|/
* Put all `explain` methods into `DatabaseStatements` moduleRyuta Kamizono2019-05-221-0/+9
* Refactor around sql_type metadata and columnRyuta Kamizono2019-04-121-2/+1
* Improve == and hash methods on various schema cache structs to be allocation ...Jean Boussier2019-04-091-8/+5
* Merge pull request #34800 from mqchau/mysqlCountDeleteRowInLockMatthew Draper2019-04-091-1/+3
|\
| * Wrap Mysql count of deleted rows in lock block to avoid conflict in testQuan Chau2019-04-081-1/+3
* | Merge pull request #35887 from kamipo/argument_errorRyuta Kamizono2019-04-091-2/+2
|\ \
| * | Raise `ArgumentError` for invalid `:limit` and `:precision` like as other opt...Ryuta Kamizono2019-04-071-2/+2
| |/
* | Except `table_name` from column objectsRyuta Kamizono2019-04-082-5/+4
* | Fix GROUP BY with calculate longer name field to respect `table_alias_length`Ryuta Kamizono2019-04-081-0/+4
|/
* Merge pull request #35795 from alimi/cache-database-versionEileen M. Uchitelle2019-04-032-3/+3
|\
| * Cache database version in schema cacheAli Ibrahim2019-04-032-3/+3
* | `bytes_margin` is only needed when `previous_packet` existsRyuta Kamizono2019-04-031-5/+2
|/
* SQLite3: Make fixture loading to bulk statementsRyuta Kamizono2019-03-171-1/+1
* Fix undefined local variable or method `discard_remaining_results'Ryuta Kamizono2019-03-171-1/+1
* Ensure `execute_batch` discards remaining resultsRyuta Kamizono2019-03-171-12/+5
* Make `truncate_tables` to bulk statementsRyuta Kamizono2019-03-171-0/+46
* Refactor `type_to_sql` to handle converting `limit` to `size` in itselfRyuta Kamizono2019-02-262-10/+58
* Refactor to extract defining column methods as `define_column_methods`Ryuta Kamizono2019-02-091-32/+40
* Allow changing text and blob size without giving the `limit` optionRyuta Kamizono2019-01-292-2/+18
* Make `t.timestamps` with precision by defaultRyuta Kamizono2019-01-261-1/+1
* MySQL: `ROW_FORMAT=DYNAMIC` create table option by defaultRyuta Kamizono2018-12-191-0/+18
* Use `utf8mb4` charset for internal tables if the row format `DYNAMIC` by defaultRyuta Kamizono2018-12-191-1/+9
* Ensure that preventing writes is invoked before `materialize_transactions` co...Ryuta Kamizono2018-12-121-4/+2
* An empty transaction does not raise the `ReadOnlyError` if preventing writesRyuta Kamizono2018-12-111-1/+1
* An explain query does not raise the `ReadOnlyError` if preventing writesRyuta Kamizono2018-12-111-1/+1
* Don't treat begin and rollback transactions as write queriesRyuta Kamizono2018-12-111-1/+1
* Prevent write queries with prepared statements for mysql2 adapterRyuta Kamizono2018-12-111-0/+4
* Rename error that occurs when writing on a readEileen Uchitelle2018-12-071-1/+1
* Address "warning: shadowing outer local variable - parts"Ryuta Kamizono2018-12-031-1/+2
* Add ability to prevent writes to a databaseEileen Uchitelle2018-11-301-0/+10
* When running exec_query MySQL always returns ActiveRecord::ResultAlireza Bashiri2018-11-251-2/+10
* Support default expression for MySQLRyuta Kamizono2018-10-251-4/+7
* Support expression indexes for MySQLRyuta Kamizono2018-10-251-4/+30
* Add `Style/RedundantFreeze` to remove redudant `.freeze`Yasuo Honda2018-09-291-1/+1
* Enable `Performance/UnfreezeString` copyuuji.yaginuma2018-09-232-3/+3
* Omit BEGIN/COMMIT statements for empty transactionsEugene Kenny2018-08-131-0/+4
* Turn on performance based copsDillon Welch2018-07-231-1/+1
* Fix `insert_fixtures_set` to be restored original connection flagsRyuta Kamizono2018-07-191-0/+36
* Fix default value for mysql time types with specified precisionNikolay Kondratyev2018-07-041-2/+2
* Save a hash allocation in MySQL statement poolEugene Kenny2018-04-231-4/+1
* Use `delegate private: true` for `SchemaCreation`Ryuta Kamizono2018-03-021-2/+1