aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/connection_adapters
Commit message (Expand)AuthorAgeFilesLines
* 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
* Merge pull request #35875 from Shopify/alloc-free-comparisonsRafael França2019-04-094-32/+38
|\
| * Improve == and hash methods on various schema cache structs to be allocation ...Jean Boussier2019-04-094-32/+38
* | Merge pull request #35909 from simi/alias-postgresql-adapterRyuta Kamizono2019-04-101-0/+1
|\ \
| * | Bring back postgresql_version as an alias.Josef Šimánek2019-04-091-0/+1
| |/
* / `get_database_version` is not public API [ci skip]Ryuta Kamizono2019-04-091-1/+1
|/
* 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-093-6/+6
|\ \
| * | Raise `ArgumentError` for invalid `:limit` and `:precision` like as other opt...Ryuta Kamizono2019-04-073-6/+6
| |/
* | Merge pull request #35890 from kamipo/except_table_name_from_columnRyuta Kamizono2019-04-096-49/+43
|\ \
| * | Except `table_name` from column objectsRyuta Kamizono2019-04-086-49/+43
* | | When skipping duplicates in bulk insert on MySQL, avoid assigning id when not...Bob Lail2019-04-081-2/+2
|/ /
* / Fix GROUP BY with calculate longer name field to respect `table_alias_length`Ryuta Kamizono2019-04-083-6/+12
|/
* Clear query cache when truncate table(s)Ryuta Kamizono2019-04-041-1/+2
* Use `execute_batch2` rather than `execute_batch` to fix performance regressio...Ryuta Kamizono2019-04-042-2/+2
* Merge pull request #35795 from alimi/cache-database-versionEileen M. Uchitelle2019-04-0310-56/+72
|\