aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/adapters/mysql2
Commit message (Expand)AuthorAgeFilesLines
* [ActiveRecord] Superclass for aborted queriesKir Shatrov2019-07-162-2/+5
* Raise specific exception on Mysql2::Error::TimeoutErrorKir Shatrov2019-07-161-0/+14
* Merge branch 'master' into add_database_exist_methodGuillermo Iguaran2019-07-083-37/+46
|\
| * Should `Regexp.escape` quoted table name in regexRyuta Kamizono2019-07-081-37/+0
| * MySQL: Fix schema dumping `enum` and `set` columns correctlyRyuta Kamizono2019-07-052-0/+46
* | Add database_exists? method to connection adaptersGuilherme Mansur2019-06-171-0/+12
|/
* Move while_preventing_writes from conn to handlereileencodes2019-06-141-8/+9
* Move SchemaMigration to migration_contexteileencodes2019-06-141-2/+2
* Enable `Layout/EmptyLinesAroundAccessModifier` copRyuta Kamizono2019-06-133-3/+0
* Use `capture_sql` instead of `assert_sql` with no patternRyuta Kamizono2019-05-221-5/+5
* use PostgreSQL's bulk_alter_table implementationYoshiyuki Kinjo2019-04-131-7/+17
* Wrap Mysql count of deleted rows in lock block to avoid conflict in testQuan Chau2019-04-081-0/+28
* Optimizer hints should be applied on Top level query as much as possibleRyuta Kamizono2019-04-041-0/+8
* Merge pull request #35795 from alimi/cache-database-versionEileen M. Uchitelle2019-04-032-4/+1
|\
| * Cache database version in schema cacheAli Ibrahim2019-04-032-4/+1
* | Use official database name [ci skip]Ryuta Kamizono2019-04-031-1/+1
|/
* Don't change `collation_connection` in the current connectionRyuta Kamizono2019-03-271-1/+1
* Add Relation#annotate for SQL commentingMatt Yoho2019-03-211-0/+37
* Add test case to prevent possible SQL injectionRyuta Kamizono2019-03-181-0/+10
* Add test case for unscoping `:optimizer_hints`Ryuta Kamizono2019-03-181-0/+6
* Extract `truncate` and `truncate_tables` into database statementsRyuta Kamizono2019-03-171-11/+0
* Support Optimizer HintsRyuta Kamizono2019-03-161-0/+24
* Update READ_QUERY regexAli Ibrahim2019-02-251-0/+8
* Merge pull request #35299 from kamipo/fix_mismatched_foreign_keyRyuta Kamizono2019-02-171-3/+80
|\
| * Fix the regex that extract mismatched foreign key informationRyuta Kamizono2019-02-171-3/+80
|/
* Allow `column_exists?` to be passed `type` argument as a stringRyuta Kamizono2019-01-241-9/+4
* Merge pull request #34742 from kamipo/row_format_dynamic_by_defaultRyuta Kamizono2018-12-211-7/+14
|\
| * MySQL: `ROW_FORMAT=DYNAMIC` create table option by defaultRyuta Kamizono2018-12-191-7/+14
* | Enable `Style/RedundantBegin` cop to avoid newly adding redundant begin blockRyuta Kamizono2018-12-211-17/+13
|/
* Rename error that occurs when writing on a readEileen Uchitelle2018-12-071-4/+4
* Add ability to prevent writes to a databaseEileen Uchitelle2018-11-301-0/+58
* Use utf8mb4 in all tests and examplesRyuta Kamizono2018-09-212-7/+7
* Use utf8mb4 character set by default for MySQL database (#33608)Yasuo Honda2018-09-112-3/+3
* `supports_xxx?` returns whether a feature is supported by the backendRyuta Kamizono2018-09-081-8/+0
* Merge pull request #32647 from eugeneius/lazy_transactionsMatthew Draper2018-08-231-0/+2
|\
| * Omit BEGIN/COMMIT statements for empty transactionsEugene Kenny2018-08-131-0/+2
* | Add database configuration to disable advisory locks.Guo Xiang Tan2018-08-221-0/+8
|/
* Replace Mocha#stubs with assert_called_withutilum2018-07-221-6/+11
* Replace some more Mocha#stub calls with Minitestutilum2018-07-171-3/+4
* Remove unnecessary Mocha stubsutilum2018-07-071-1/+0
* CI against MariaDB 10.3Yasuo Honda2018-06-011-1/+3
* Fix `CustomCops/AssertNot` to allow it to have failure messageRyuta Kamizono2018-05-131-1/+1
* Replace `assert !` with `assert_not`Daniel Colson2018-04-191-2/+2
* Remove unnecessary `respond_to?(:report_on_exception)` checkingyuuji.yaginuma2018-03-021-2/+2
* Fix `#columsn_for_distinct` of MySQL and PostgreSQLkg8m2018-02-271-5/+5
* Deprecate update_attributes and update_attributes!Eddie Lebow2018-02-171-2/+2
* Use assert_predicate and assert_not_predicateDaniel Colson2018-01-254-11/+11
* Refactor migration to move migrations paths to connectioneileencodes2018-01-181-1/+1
* `create_database` should not add default charset when `collation` is givenRyuta Kamizono2018-01-151-1/+1
* Remove passing needless empty string `options` in `create_table`Ryuta Kamizono2017-12-201-3/+3