aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/adapters/mysql2
Commit message (Expand)AuthorAgeFilesLines
* 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
* Merge pull request #31177 from albertoalmagro/remove-default-mysql-engine-fro...Matthew Draper2017-12-202-3/+78
|\
| * Remove default ENGINE=InnoDB for Mysql2 adapterAlberto Almagro2017-12-112-3/+78
* | Suppress expected exceptions by `report_on_exception` = `false`Yasuo Honda2017-12-141-0/+2
|/
* Merge pull request #31230 from dinahshi/postgresql_extract_sqlMatthew Draper2017-12-031-2/+2
|\
| * Extract sql fragment generators for alter table from PostgreSQL adapterDinah Shi2017-12-021-2/+2
* | Add new error class `QueryCanceled` which will be raised when canceling state...Ryuta Kamizono2017-11-271-0/+27
* | Rename `TransactionTimeout` to more descriptive `LockWaitTimeout` (#31223)Ryuta Kamizono2017-11-271-2/+2
|/
* Merge pull request #30980 from sobrinho/sobrinho/arel-star-ignored-columnsRafael França2017-11-131-11/+11
|\
| * Change tests to use models which don't ignore any columnsJon Moss2017-11-131-11/+11