aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/connection_adapters
Commit message (Collapse)AuthorAgeFilesLines
* only use the primary_key method, refactor schema and table name parsingAaron Patterson2011-04-111-13/+15
|
* use prepared statements for primary key queriesAaron Patterson2011-04-111-2/+15
|
* last insert id can never be called, so remove that code pathAaron Patterson2011-04-111-11/+3
|
* we know the table and pk, so we can calculate a default sequence nameAaron Patterson2011-04-111-3/+4
|
* always look up pk and sequence unless both are providedAaron Patterson2011-04-111-6/+5
|
* pg does not know the insert_id in advance, so super will never return trueAaron Patterson2011-04-111-13/+10
|
* implement exec_query on mysql2 adapterAaron Patterson2011-04-111-2/+20
|
* make sqlite insert_sql more consistent with other adaptersAaron Patterson2011-04-111-1/+2
|
* adding exec_insert for postgresqlAaron Patterson2011-04-111-0/+4
|
* properly name schema queries for the loggerAaron Patterson2011-04-111-10/+10
|
* adding client_encoding method for discovering the encoding set for this ↵Aaron Patterson2011-04-111-0/+62
| | | | client, testing exec_insert on a string
* properly name schema queries for loggingAaron Patterson2011-04-111-3/+3
|
* adding exec_insert to sqlite3Aaron Patterson2011-04-111-0/+4
|
* adding a case_sensitive_modifier for forcing comparisons to be case sensitiveAaron Patterson2011-04-113-0/+14
|
* only support pg >= 8.2, so no need to checkAaron Patterson2011-04-111-7/+4
|
* pg should define insert_sql so that query cache actually works for insertsAaron Patterson2011-04-101-2/+1
|
* community support for pg < 8.2 has ended, so we can drop support for those ↵Aaron Patterson2011-04-101-62/+12
| | | | versions
* make sure that active connections are not cleared during test when an ↵Aaron Patterson2011-03-291-2/+4
| | | | exception happens
* clearing active connections in the ConnectionManagement middleware if an ↵Aaron Patterson2011-03-291-0/+3
| | | | exception happens
* proxy body responses so we close database connections after body is flushedAaron Patterson2011-03-291-7/+24
|
* make sure we have an active database connection before running each ↵Aaron Patterson2011-03-281-1/+5
| | | | connection management test
* adding active_connections? to the connection pool for finding open connectionsAaron Patterson2011-03-281-0/+6
|
* adding active_connection? to the connection poolAaron Patterson2011-03-281-0/+6
|
* sql logger ignores schema statementsAaron Patterson2011-03-281-2/+2
|
* Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-03-232-4/+2
|\
| * remove bank linePaco Guzman2011-03-181-1/+0
| |
| * Remove incorrect comment that a default value of NULL cannot be set with ↵Manuel Meurer2011-03-161-3/+2
| | | | | | | | change_column_default.
* | pushing id insertion and prefetch primary keys down to Relation#insertAaron Patterson2011-03-222-0/+8
| |
* | use prepared statements to fetch the last insert idAaron Patterson2011-03-211-3/+4
| |
* | escaping binary data encoding when inserting to sqlite3. Thanks Naruse! ↵Aaron Patterson2011-03-211-0/+8
| | | | | | | | [#6559 state:resolved]
* | schemas set by set_table_name are respected by the mysql adapter. [#5322 ↵Aaron Patterson2011-03-211-2/+16
|/ | | | state:resolved]
* implements ActiveRecord::Base.connection_config to be able to check the ↵Xavier Noria2011-03-051-0/+10
| | | | configuration of the current connection at runtime
* Optimization for postgres adapter for add_column method. Set default and not ↵Timothy N. Tsvetkov2011-02-151-6/+10
| | | | null in one query
* switch over to Mysql2::Client#ping for the mysql2 connection checkBrian Lopez2011-02-121-4/+1
|
* fixture should quack like a hashAaron Patterson2011-02-111-1/+9
|
* log method takes an option list of bind valuesAaron Patterson2011-02-094-8/+10
|
* Allow limit values to accept an ARel SQL literal.Ken Collins2011-02-091-3/+7
|
* primary keys should not be cleared on cache clear, fixing oracle testsAaron Patterson2011-02-081-2/+0
|
* limit() should sanitize limit valuesAaron Patterson2011-02-081-15/+15
| | | | This fixes CVE-2011-0448
* mysql2 should log these sql statementsAaron Patterson2011-02-071-1/+1
|
* the connection pool caches table_exists? callsAaron Patterson2011-02-071-8/+14
|
* adjust query counts to be consistent across databases, make sure database ↵Aaron Patterson2011-02-044-11/+27
| | | | log the same things
* column cache now lives on the connection poolAaron Patterson2011-02-041-1/+5
|
* almost fistedAaron Patterson2011-02-041-0/+7
|
* making sure primary key is set on the columnsAaron Patterson2011-02-041-1/+9
|
* connection pool can cache column, table, and primary key informationAaron Patterson2011-02-041-0/+34
|
* refactor a bunch of return / if to a case / whenAaron Patterson2011-02-032-26/+30
|
* add_limit_offset! is deprecatedAaron Patterson2011-02-031-0/+1
|
* just use the superclass implementationAaron Patterson2011-02-031-49/+0
|
* Revert "ARel only requires the connection from the AR class. Simply return ↵Aaron Patterson2011-02-031-24/+24
| | | | | | the AR class rather than jump through hoops and store ivars" This reverts commit d65e3b481e72e8c76818a94353e9ac315c7c0272.