aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/connection_adapters
Commit message (Expand)AuthorAgeFilesLines
* MySQL: Fix schema dumping `enum` and `set` columns correctlyRyuta Kamizono2019-07-051-1/+3
* Add "SCHEMA" to the query in `configure_connection` like as other adaptersRyuta Kamizono2019-06-281-1/+1
* warning: instance variable @serial not initialized (#36556)utilum2019-06-281-0/+10
* Schema Cache: extract deduplication commonalityKasper Timm Hansen2019-06-211-10/+15
* Also deduplicate schema cache data when using the init_with interfaceJean Boussier2019-06-211-6/+6
* Stop serializing and parsing columns_hash in Active Record schema cachesJean Boussier2019-06-191-8/+5
* Merge pull request #35891 from Shopify/schema-cache-deduplicationKasper Timm Hansen2019-06-198-2/+105
|\
| * Deduplicate various Active Record schema cache structuresJean Boussier2019-06-038-2/+105
* | Avoid redundant `time.getutc` call if it is already utc time objectRyuta Kamizono2019-06-181-5/+5
* | No allocation `Arel::Visitors::ToSql#visit`Ryuta Kamizono2019-06-151-2/+2
* | Move while_preventing_writes from conn to handlereileencodes2019-06-142-15/+17
* | Move SchemaMigration to migration_contexteileencodes2019-06-142-5/+20
* | Allocation on demand in transactionsRyuta Kamizono2019-06-141-20/+35
* | Make ActiveRecord `ConnectionPool.connections` thread-safe. (#36473)jeffdoering2019-06-131-1/+16
* | Merge pull request #36472 from kamipo/empty_line_only_before_access_modifierRyuta Kamizono2019-06-1322-26/+0
|\ \
| * | Enable `Layout/EmptyLinesAroundAccessModifier` copRyuta Kamizono2019-06-1322-26/+0
* | | Clear schema cache when a table is created/dropped/renamedRyuta Kamizono2019-06-134-0/+11
|/ /
* | Allow column name with function (e.g. `length(title)`) as safe SQL stringRyuta Kamizono2019-06-104-8/+32
* | Allow `column_name AS alias` as safe SQL stringRyuta Kamizono2019-06-104-0/+4
* | Refactor `disallow_raw_sql!` to avoid `split(/\s*,\s*/)` to order argsRyuta Kamizono2019-06-094-19/+54
* | Merge pull request #36420 from kamipo/quoted_identifier_regexRyuta Kamizono2019-06-064-5/+105
|\ \
| * | Allow quoted identifier string as safe SQL stringRyuta Kamizono2019-06-064-5/+105
* | | Move schema cache from connection to pooleileencodes2019-06-054-5/+33
|/ /
* | Fix sqlite3 collation parsing when using decimal columns.Martin Schuster2019-06-041-2/+2
* | Merge pull request #36384 from guigs/fix-invalid-schema-when-pk-column-has-co...Ryuta Kamizono2019-06-031-1/+1
|\ \ | |/ |/|
| * Fix invalid schema dump when primary key column has a commentGuilherme Goettems Schneider2019-06-031-1/+1
* | Refactor `create_table`'s options separationRyuta Kamizono2019-06-032-12/+11
|/
* Fix table comment also being applied to the primary key columnGuilherme Goettems Schneider2019-05-311-1/+1
* `:datetime` and `:time` columns allows `:precision` option [ci skip]Ryuta Kamizono2019-05-281-2/+3
* Use WeakRef to avoid leaking connection poolsJohn Hawthorn2019-05-271-11/+21
* Put all `explain` methods into `DatabaseStatements` moduleRyuta Kamizono2019-05-224-18/+14
* Merge pull request #36296 from jhawthorn/dont_fear_the_reaperAaron Patterson2019-05-181-7/+25
|\
| * Use a single thread for all ConnectionPool ReapersJohn Hawthorn2019-05-171-7/+25
* | Remove SQLite version support caveats [ci skip]Eugene Kenny2019-05-123-5/+3
|/
* Remove ignored_sql from SQLCounter by adding "TRANSACTION" to log nameYasuo Honda2019-05-084-12/+12
* Should attempt `committed!`/`rolledback!` to all enrolled records in the tran...Ryuta Kamizono2019-05-071-4/+12
* Merge pull request #35998 from itsWill/add_documentation_for_add_indexEileen M. Uchitelle2019-04-191-0/+20
|\
| * Document algorithm: concurrent options for PostgreSQL [ci skip]Guilherme Mansur2019-04-161-0/+20
* | Merge pull request #35946 from alimi/cache-full-mysql-database-versionKasper Timm Hansen2019-04-163-5/+14
|\ \ | |/ |/|
| * Make changes per PR feedbackAli Ibrahim2019-04-122-9/+3
| * Cache full MySQL version in schema cacheAli Ibrahim2019-04-113-6/+21
* | make change_column_comment and change_table_comment invertibleYoshiyuki Kinjo2019-04-153-6/+21
* | use PostgreSQL's bulk_alter_table implementationYoshiyuki Kinjo2019-04-133-41/+26
* | Refactor around sql_type metadata and columnRyuta Kamizono2019-04-124-33/+35
* | Merge pull request #35922 from michaelglass/move-sqlite-3-database-statements...Rafael França2019-04-112-80/+80
|\ \ | |/ |/|
| * moves sqlite3 methods that mirror Abstract::DatabaseStatements into Sqlite3::...Michael Glass2019-04-102-80/+80
* | Adding type option example to the documentation [ci skip] (#35917)Roberto Miranda2019-04-101-0/+1
|/
* Accidentally lost `comment` in `Column#==` and `Column#hash`Ryuta Kamizono2019-04-101-2/+4
* Remove unused `sequence_name` in `sql_for_insert`Ryuta Kamizono2019-04-102-3/+3
* There is no need to create `QueryAttribute` to just type cast a valueRyuta Kamizono2019-04-101-2/+1