aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/adapters
Commit message (Expand)AuthorAgeFilesLines
* Use `capture_sql` instead of `assert_sql` with no patternRyuta Kamizono2019-05-221-5/+5
* Remove ignored_sql from SQLCounter by adding "TRANSACTION" to log nameYasuo Honda2019-05-081-2/+2
* Remove redundant `test_too_many_binds`Yasuo Honda2019-05-031-20/+0
* Remove database specific sql statements from SQLCounterYasuo Honda2019-05-011-3/+3
* use PostgreSQL's bulk_alter_table implementationYoshiyuki Kinjo2019-04-131-7/+17
* Merge pull request #34800 from mqchau/mysqlCountDeleteRowInLockMatthew Draper2019-04-091-0/+28
|\
| * Wrap Mysql count of deleted rows in lock block to avoid conflict in testQuan Chau2019-04-081-0/+28
* | Raise `ArgumentError` for invalid `:limit` and `:precision` like as other opt...Ryuta Kamizono2019-04-072-2/+2
|/
* Optimizer hints should be applied on Top level query as much as possibleRyuta Kamizono2019-04-042-0/+16
* Ensure `reset_table_name` when table name prefix/suffix is changedRyuta Kamizono2019-04-041-5/+8
* Merge pull request #35795 from alimi/cache-database-versionEileen M. Uchitelle2019-04-034-6/+3
|\
| * Cache database version in schema cacheAli Ibrahim2019-04-034-6/+3
* | Use official database name [ci skip]Ryuta Kamizono2019-04-031-1/+1
|/
* Merge pull request #19333 from palkan/dirty-storeKasper Timm Hansen2019-03-311-0/+16
|\
| * Add dirty methods for store accessorspalkan2019-03-251-0/+16
* | Don't change `collation_connection` in the current connectionRyuta Kamizono2019-03-271-1/+1
* | Add Relation#annotate for SQL commentingMatt Yoho2019-03-213-0/+111
|/
* Add test case to prevent possible SQL injectionRyuta Kamizono2019-03-182-0/+20
* Add test case for unscoping `:optimizer_hints`Ryuta Kamizono2019-03-182-0/+12
* Extract `truncate` and `truncate_tables` into database statementsRyuta Kamizono2019-03-173-37/+0
* Support Optimizer HintsRyuta Kamizono2019-03-162-0/+52
* Allow `truncate` for SQLite3 adapter and add `rails db:seed:replant` (#34779)Bogdan2019-03-041-0/+18
* Update READ_QUERY regexAli Ibrahim2019-02-253-0/+28
* Remove duplicated protected params definitionsRyuta Kamizono2019-02-241-7/+2
* Merge pull request #35263 from hatch-carl/reduce-postgres-uuid-allocationsRyuta Kamizono2019-02-211-1/+13
|\
| * Reduce unused allocations when casting UUIDs for PostgresCarl Thuringer2019-02-201-1/+13
* | PostgreSQL: Support endless range values for range typesRyuta Kamizono2019-02-201-0/+16
|/
* Don't allow `where` with invalid value matches to nil valuesRyuta Kamizono2019-02-181-0/+6
* 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
* Fix type casting column default in `change_column`Ryuta Kamizono2019-01-201-1/+13
* Remove deprecated `#insert_fixtures` from the database adaptersRafael Mendonça França2019-01-171-8/+0
* Remove deprecated `ActiveRecord::ConnectionAdapters::SQLite3Adapter#valid_alt...Rafael Mendonça França2019-01-171-4/+0
* Change `SQLite3Adapter` to always represent boolean values as integersRafael Mendonça França2019-01-171-13/+1
* Fix `test_case_insensitiveness` to follow up eb5fef5Ryuta Kamizono2019-01-111-9/+8
* 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-214-49/+37
* | Module#{define_method,alias_method,undef_method,remove_method} become public ...Ryuta Kamizono2018-12-211-4/+4
|/
* Rename error that occurs when writing on a readEileen Uchitelle2018-12-073-11/+11
* Add ability to prevent writes to a databaseEileen Uchitelle2018-11-303-0/+170
* Allow spaces in postgres table namesGannon McGibbon2018-11-281-0/+5
* Bump the minimum version of PostgreSQL to 9.3Yasuo Honda2018-11-253-377/+359
* Use squiggly heredoc to strip odd indentation in the executed SQLRyuta Kamizono2018-11-229-27/+27
* Fixing an issue when parsing an opclass by allowing indexed columnThomas Bianchini2018-11-211-0/+12
* Merge pull request #34436 from gmcgibbon/fix_default_max_bind_length_sqliteRafael França2018-11-131-0/+20
|\
| * Adjust bind length of SQLite to default (999)Gannon McGibbon2018-11-131-0/+20
* | Add support for UNLOGGED Postgresql tablesJacob Evelyn2018-11-131-0/+74
|/
* Fix test case for money schema defaultRyuta Kamizono2018-11-121-1/+1