Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove unused local variable | Andrew White | 2016-11-03 | 1 | -1/+0 |
| | |||||
* | Check against bit string values using multiline regexp | Rafael Mendonça França | 2014-07-02 | 1 | -0/+5 |
| | | | | Fix CVE-2014-3482. | ||||
* | Skip connection url test when the machine is using socket configuration. | Rafael Mendonça França | 2013-07-06 | 1 | -0/+3 |
| | | | | The connection url parssing don't accept the socket option | ||||
* | adding a test for #10830 | Aaron Patterson | 2013-06-05 | 1 | -0/+46 |
| | |||||
* | Wrong exception is occured when raising no translatable exception | kennyj | 2013-03-20 | 1 | -0/+6 |
| | | | | | Conflicts: activerecord/CHANGELOG.md | ||||
* | Sqlite preserves primary keys when copying/altering tables. | Yves Senn | 2013-02-23 | 1 | -0/+8 |
| | | | | | | | | Backport #2312. Fixes #9367. I also added a test-case to make sure that renaming or removing a column preserves the primary key. | ||||
* | Merge pull request #8276 from pwnall/pgsql_text_limits | Rafael Mendonça França | 2012-11-20 | 1 | -0/+18 |
| | | | | | | | Postgresql doesn't accepts limits on text columns Conflicts: activerecord/CHANGELOG.md activerecord/lib/active_record/connection_adapters/postgresql/schema_statements.rb | ||||
* | Fix warning with assigned but not used variable | Carlos Antonio da Silva | 2012-11-13 | 1 | -3/+3 |
| | |||||
* | Merge pull request #8057 from frodsan/fix_sqlite_mutate_arg | Rafael Mendonça França | 2012-10-29 | 1 | -0/+8 |
| | | | | | | SQLite3Adapter#type_cast should not mutate arguments Conflicts: activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb | ||||
* | Merge pull request #7850 from ↵ | Rafael Mendonça França | 2012-10-06 | 1 | -0/+4 |
| | | | | | | | | | senny/5920_postgres_adapter_table_with_capital_letters postgres, quote table names when fetching the primary key (#5920) Conflicts: activerecord/CHANGELOG.md activerecord/lib/active_record/connection_adapters/postgresql/schema_statements.rb | ||||
* | `skip` in Ruby 1.8 doesn't skip the test case without return | Rafael Mendonça França | 2012-09-13 | 1 | -1/+1 |
| | |||||
* | Backport PostgreSQL auto-reconnect test coverage | Steve Jorgensen | 2012-09-13 | 1 | -0/+74 |
| | | | | | | | | | | | | | | | | 6d5f4de4c420ebb906109668f5702a537ac77692 Simulated & actual (manual/skipped) PostgreSQL auto-reconnection tests. 4b1bca04025a66c54e6e9d5eb6e4d4056bfa92f0 Stop being silly with formatting of method aliasing. c381d5cbf959208adeb38e7859ee815dfbd2cf54 Fix just-plain-wrongness of psql auto-reconnect test. 1e17a9d367c54c680368be72f44247ae28b98904 Fix only-once stub logic. f16c2043826ec1991cf94fe17cb671507b7a7f51 Changelog for PostgreSQL auto-reconnect test coverage backport. | ||||
* | Backport #5168 to 3-2-stable. Fix a problem that NULLS is ignored by ↵ | kennyj | 2012-08-02 | 1 | -0/+5 |
| | | | | postgresql_adapter.rb while creating distincts. | ||||
* | fixing tests to deal with data differences between prepared statements and ↵ | Aaron Patterson | 2012-07-13 | 2 | -2/+7 |
| | | | | non-prepared statements | ||||
* | Merge pull request #6878 from masarakki/master | Rafael Mendonça França | 2012-06-28 | 2 | -0/+20 |
| | | | | | | fix bug in limit of enum columns of mysql Closes #6432 | ||||
* | Change the string to use in test case. | kennyj | 2012-06-11 | 2 | -2/+2 |
| | | | | | | | Conflicts: activerecord/test/cases/adapters/mysql/mysql_adapter_test.rb activerecord/test/cases/adapters/mysql2/schema_test.rb | ||||
* | Fix GH #3163. Should quote database on mysql/mysql2. | kennyj | 2012-06-11 | 2 | -0/+21 |
| | | | | | | Conflicts: activerecord/test/cases/adapters/mysql/mysql_adapter_test.rb | ||||
* | Be sure to correctly fetch PK name from MySQL even if the PK has some custom ↵ | Akira Matsuda | 2012-04-19 | 1 | -0/+30 |
| | | | | | | | | | | | option Backports #5900 Conflicts: activerecord/lib/active_record/connection_adapters/abstract_mysql_adapter.rb activerecord/test/cases/adapters/mysql/mysql_adapter_test.rb | ||||
* | Merge pull request #5437 from kennyj/fix_5430 | Aaron Patterson | 2012-03-15 | 1 | -0/+7 |
| | | | | Fix GH #5430. A Payload name for schema_search_path should be SCHEMA. | ||||
* | Only run binary type cast test with encode! on Ruby 1.9 | Carlos Antonio da Silva | 2012-03-04 | 1 | -6/+8 |
| | |||||
* | only log an error if there is a logger. fixes #5226 | Aaron Patterson | 2012-03-02 | 1 | -0/+9 |
| | | | | | | Conflicts: activerecord/lib/active_record/connection_adapters/sqlite_adapter.rb | ||||
* | Merge pull request #5096 from lawso017/master | Aaron Patterson | 2012-02-21 | 1 | -3/+7 |
| | | | | Restoring ability to derive id/sequence from tables with nonstandard sequences for primary keys | ||||
* | Add missing require | Jon Leighton | 2011-12-03 | 1 | -0/+2 |
| | |||||
* | Avoid postgres 9.X syntax | Jon Leighton | 2011-12-03 | 1 | -1/+5 |
| | |||||
* | Deprecate set_table_name in favour of self.table_name= or defining your own ↵ | Jon Leighton | 2011-11-29 | 4 | -8/+8 |
| | | | | method. | ||||
* | add the query to AR::Relation#explain output | Xavier Noria | 2011-11-25 | 3 | -0/+9 |
| | | | | | | | Rationale: this is more readable if serveral queries are involved in one call. Also, it will be possible to let AR log EXPLAINs automatically in production mode, where queries are not even around. | ||||
* | fixing tests on ruby 1.8 | Aaron Patterson | 2011-11-20 | 1 | -1/+3 |
| | |||||
* | pushing caching and visitors down to the connection | Aaron Patterson | 2011-11-19 | 1 | -0/+1 |
| | |||||
* | Verify that #3690 has been closed by previous changes to the mysql | Jon Leighton | 2011-11-19 | 2 | -2/+10 |
| | | | | | | | | adapters. These tests fail on the v3.1.2 tag. Closes #3690. | ||||
* | fixing tests on PG | Aaron Patterson | 2011-11-16 | 1 | -1/+1 |
| | |||||
* | revises EXPLAIN tests for SQLite3 | Xavier Noria | 2011-11-06 | 1 | -3/+3 |
| | | | | | | | | | | The output in Travis is a bit different. The SQLite documentation (http://www.sqlite.org/eqp.html) warns output may change dramatically between releases. I do not want to mock the result set because I want a real EXPLAIN to happen. I prefer a test that may fail in future releases than a test that may give false positives in future releases. | ||||
* | Merge pull request #3521 from ↵ | Aaron Patterson | 2011-11-06 | 1 | -0/+4 |
| | | | | | | nulogy/fix_postgres_adapter_to_handle_spaces_between_schemas Fix postgres adapter to handle spaces between schemas | ||||
* | implements AR::Relation#explain | Xavier Noria | 2011-11-05 | 3 | -0/+71 |
| | | | | | | | | | | | | | | | | | | | This is a first implementation, EXPLAIN is highly dependent on the database and I have made some compromises. On one hand, the method allows you to run the most common EXPLAIN and that's it. If you want EXPLAIN ANALYZE in PostgreSQL you need to do it by hand. On the other hand, I've tried to construct a string as close as possible to the ones built by the respective shells. The rationale is that IMO the user should feel at home with the output and recognize it at first sight. Per database. I don't know whether this implementation is going to work well. Let's see whether people like it. | ||||
* | AR changes to support creating ordered (asc, desc) indexes | Vlad Jebelev | 2011-11-04 | 1 | -4/+12 |
| | |||||
* | Merge pull request #3258 from ileitch/3-1-stable | Aaron Patterson | 2011-10-20 | 1 | -0/+16 |
| | | | | Postgres: Do not attempt to deallocate a statement if the connection is no longer active. | ||||
* | reset prepared statement when schema changes imapact statement results. ↵ | Aaron Patterson | 2011-10-18 | 1 | -0/+8 |
| | | | | fixes #3335 | ||||
* | fix to remove warning in test cases | Vishnu Atrai | 2011-10-16 | 1 | -2/+2 |
| | |||||
* | ambiguous first argument; put parentheses or even spaces Warning removed! | Arun Agrawal | 2011-10-10 | 1 | -2/+2 |
| | |||||
* | Remove stray whitespace | Jeremy Kemper | 2011-10-09 | 1 | -4/+1 |
| | |||||
* | Only use LOWER for mysql case insensitive uniqueness check when column has a ↵ | Joseph Palermo | 2011-10-09 | 2 | -0/+73 |
| | | | | case sensitive collation. | ||||
* | Merge pull request #3232 from Juanmcuello/pg_prepared_statements | Aaron Patterson | 2011-10-06 | 1 | -0/+19 |
|\ | | | | | Use the schema_search_path in prepared statements. | ||||
| * | refs #3232. Prepared statements and postgreSQL schemas. | Juan M. Cuello | 2011-10-05 | 1 | -0/+19 |
| | | | | | | | | | | Add tests for prepared statements with multiple schemas in postgreSQL. | ||||
* | | Transactional fixtures enlist all active database connections. | Jeremy Kemper | 2011-10-05 | 1 | -0/+4 |
|/ | | | | You can use multiple databases in your tests without disabling transactional fixtures. | ||||
* | LRU cache in mysql and sqlite are now per-process caches. | Aaron Patterson | 2011-09-07 | 2 | -0/+47 |
| | |||||
* | fixing file name | Aaron Patterson | 2011-09-07 | 1 | -0/+0 |
| | |||||
* | LRU should cache per process in postgresql. fixes #1339 | Aaron Patterson | 2011-09-07 | 1 | -0/+23 |
| | |||||
* | Merge commit 'refs/pull/2909/head' of https://github.com/rails/rails into rawr | Aaron Patterson | 2011-09-07 | 1 | -0/+6 |
| | | | | | | * https://github.com/rails/rails: Postgresql adapter: added current_schema check for table_exists? Postgresql adapter: added current_schema check for table_exists? | ||||
* | Merge pull request #2021 from dasch/more_postgres_utils | Aaron Patterson | 2011-08-29 | 2 | -15/+18 |
|\ | | | | | Make #extract_schema_and_table an instance method in Utils | ||||
| * | Make #extract_schema_and_table an instance method in Utils | Daniel Schierbeck | 2011-07-09 | 2 | -15/+18 |
| | | | | | | | | Also, move the utils test into its own test case. | ||||
* | | Create an AbstractMysqlAdapter to abstract the common code between ↵ | Jon Leighton | 2011-08-29 | 1 | -4/+4 |
| | | | | | | | | MysqlAdapter and Mysql2Adapter. |