aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb
Commit message (Collapse)AuthorAgeFilesLines
* SQLite3Adapter#type_cast should not mutate argumentsStefan Rusterholz2012-10-281-1/+1
|
* refactor `SQLite3Adapter#copy_table` to prevent primary key redefinitions. #6378Yves Senn2012-10-281-5/+3
|
* Support for partial inserts.Jon Leighton2012-09-281-4/+0
| | | | | | | | | | | When inserting new records, only the fields which have been changed from the defaults will actually be included in the INSERT statement. The other fields will be populated by the database. This is more efficient, and also means that it will be safe to remove database columns without getting subsequent errors in running app processes (so long as the code in those processes doesn't contain any references to the removed column).
* Query for loading index info should be marked as SCHEMA.kennyj2012-09-151-1/+1
|
* Ensure disconnecting or reconnecting resets the transaction stateJon Leighton2012-09-151-1/+7
|
* column default extraction should handle newlines.Aaron Patterson2012-08-171-2/+2
| | | | Fixes #7374
* Revert "Merge pull request #6344"Piotr Sarnacki2012-06-251-1/+1
| | | | | | | | | | | | | | This commit needs to be reverted because it introduces difficulties when using sqlite3 in development and other databases in production. This happens because when you create time column in sqlite3, it's dumped as datetime in schema.rb file. This reverts commit 57d534ee9e441d078fcc161c0c78ebaa5aacd736, reversing changes made to 20f049fb50daee0c5e5a69b55b529af5737e8e3f. Conflicts: activerecord/test/cases/adapters/sqlite3/sqlite3_adapter_test.rb
* Fix logs name consistency.kennyj2012-05-191-8/+6
|
* Merge pull request #6344 from erichmenge/patch_sqlite_time_typePiotr Sarnacki2012-05-151-1/+1
|\ | | | | SQLite3 doesn't actually support the 'time' type.
| * SQLite3 doesn't actually support the 'time' type.Erich Menge2012-05-151-1/+1
| |
* | Remove useless check of adapterOscar Del Ben2012-05-151-4/+0
|/
* Remove unnecessary calls to primary_key on sqlite3_adapterCarlos Galdino2012-05-151-1/+1
|
* Set the primary key during #copy_table if necessary. Fixes [#2312]Sean Scally2012-05-141-1/+5
|
* Refactored remove_columnEdgars Beigarts2012-05-021-1/+1
|
* renamed class SQLiteColumn to SQLite3ColumnAndrey Deryabin2012-04-271-3/+3
|
* removed tail of old sqlite versionsAndrey Deryabin2012-04-271-9/+9
|
* fix SQLite3Adapter docAndrey Deryabin2012-04-271-2/+2
|
* Upgrade sqlite3 version to 1.3.6Andrey Deryabin2012-04-271-1/+1
|
* merged sqlite and sqlite3 adaptersAndrey Deryabin2012-04-271-7/+538
|
* EXPLAIN only for sqlite3Andrey Deryabin2012-04-261-0/+25
|
* Support establishing connection on ActiveRecord::Model.Jon Leighton2011-12-281-1/+1
| | | | | This is the 'top level' connection, inherited by any models that include ActiveRecord::Model or inherit from ActiveRecord::Base.
* I herd you like modules.Jon Leighton2011-12-241-2/+2
|
* the required sqlite3 adapter responds to encoding, so stop checking.Aaron Patterson2011-12-071-5/+1
|
* SQlite3 Bump Arun Agrawal2011-12-041-1/+1
|
* add the gem requirement for sqlite3Aaron Patterson2011-08-101-0/+2
|
* escaping binary data encoding when inserting to sqlite3. Thanks Naruse! ↵Aaron Patterson2011-03-211-0/+8
| | | | [#6559 state:resolved]
* Avoid creating local var.Emilio Tagua2010-11-241-2/+1
|
* just use if rather than nil?Aaron Patterson2010-09-291-1/+1
|
* just require sqlite3 when the database adapter is requiredAaron Patterson2010-09-291-4/+1
|
* moving parse_sqlite_config to the sqlite3_connection method (where it ↵Aaron Patterson2010-07-081-1/+11
| | | | | | belongs) [#5071 state:resolved] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* removing useless code. [#5070 state:resolved]Aaron Patterson2010-07-081-2/+1
| | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* adding adapter tests, avoiding private apis, fixing code in 1.9 [#4986 ↵Aaron Patterson2010-06-261-3/+7
| | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Added encoding qery support for SQLite3 to make rake db:charset work on all ↵Mikel Lindsaar2010-02-031-0/+11
| | | | databases shipping with Rails 3
* Remove support for SQLite 2.Pratik Naik2009-08-171-5/+0
| | | | If you're still using it, please install the plugin from git://github.com/rails/sqlite2_adapter.git
* Cherry-pick core extensionsJeremy Kemper2009-05-131-3/+3
|
* Ensure SQLite adapters stores the config [#1947 state:resolved] [John ↵John Aughey2009-03-081-1/+1
| | | | | | Aughey, Pratik Naik] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* More thoroughly quote table names. Exposes some issues with sqlite2 adapter. ↵Jeremy Kemper2008-01-051-1/+1
| | | | | | Closes #10698. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8571 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Load database adapters on demand. Eliminates config.connection_adapters and ↵Jeremy Kemper2007-05-251-0/+34
RAILS_CONNECTION_ADAPTERS. Closes #8456. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6833 5ecf4fe2-1ee6-0310-87b1-e25e094e27de