1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/test/cases
Dov Murik 5fe6635e05 Mysql#reconnect is set according to the 'reconnect' key in the connection spec.
The 'reconenct' boolean option is read from the connection specification
and is used to set the reconnect attribute of Mysql.  The default is
false in order not to change existing application behaviour.

Also, reconnect is set AFTER real_connect is called, so its value sticks
(the mysql gem sets reconnect to false inside real_connect).

Signed-off-by: Michael Koziarski <michael@koziarski.com>
[#1797 state:committed]
2009-01-27 09:55:25 +13:00
..
associations Fix has_and_belongs_to_many_associations tests. #1738 2009-01-18 00:34:57 +00:00
aaa_create_tables_test.rb
active_schema_test_mysql.rb Make sure recreate MySQL test database with the proper encoding and collation [#1165 state:resolved] 2008-10-03 22:08:55 +02:00
active_schema_test_postgresql.rb
adapter_test.rb Added db:charset support to PostgreSQL. [#556 state:resolved] 2008-07-14 04:11:52 +01:00
aggregations_test.rb Add missing assert_deprecated calls to prevent spam during test runs 2008-09-11 11:21:22 +02:00
ar_schema_test.rb Autoload ActiveRecord files 2008-11-24 11:14:24 -06:00
associations_test.rb Remove the functionality introduce in 28d3390 2008-10-10 17:04:46 +02:00
attribute_methods_test.rb "raise NoMethodError" raises NoMethodError. Raise it with NoMethodError.new instead. 2008-10-25 14:52:44 +05:30
base_test.rb ActiveRecord::Base#new_record? now returns false for existing records (was nil) [#1219 state:committed] 2008-12-27 14:36:11 +01:00
binary_test.rb Remove SQL Server cases from tests for latest adapter work to pass rails expected behavior. 2008-11-19 18:00:56 +01:00
calculations_test.rb Rework ActiveSupport::OrderedHash to make lookups faster 2008-12-10 09:07:47 -08:00
callbacks_observers_test.rb
callbacks_test.rb Fixed broken after_save callback; was being called when before_create was canceled or before_update was canceled 2009-01-16 10:11:58 +13:00
class_inheritable_attributes_test.rb
column_alias_test.rb
column_definition_test.rb Don't set "NULL" as a constraint on nullable columns [#398 state:resolved] 2008-08-23 19:51:09 +03:00
connection_test_firebird.rb
connection_test_mysql.rb Mysql#reconnect is set according to the 'reconnect' key in the connection spec. 2009-01-27 09:55:25 +13:00
copy_table_test_sqlite.rb
database_statements_test.rb PostgreSQL: insert looks up pk and sequence name if not given. [#384 state:resolved] 2008-06-10 15:50:01 -07:00
datatype_test_postgresql.rb
date_time_test.rb
default_test_firebird.rb
defaults_test.rb Merge commit 'origin/master' into savepoints 2008-12-03 19:30:35 +01:00
deprecated_finder_test.rb Fix file permissions 2008-07-31 16:36:23 -05:00
dirty_test.rb Fix dirty handling of nullable non-integer numeric columns [#1692 state:resolved] 2009-01-16 17:23:35 +00:00
finder_respond_to_test.rb
finder_test.rb Add :having option to find, to use in combination with grouped finds. Also added to has_many and has_and_belongs_to_many associations. 2008-12-01 20:22:31 +01:00
fixtures_test.rb Update AR tests 2008-11-07 16:22:56 -05:00
helper.rb Fix has_and_belongs_to_many_associations tests. #1738 2009-01-18 00:34:57 +00:00
i18n_test.rb use :en as a default locale (in favor of :en-US) 2008-11-18 14:23:53 +01:00
inheritance_test.rb Remove SQL Server cases from tests for latest adapter work to pass rails expected behavior. 2008-11-19 18:00:56 +01:00
invalid_date_test.rb
json_serialization_test.rb Fix the AR json serialization tests to comply with the earlier change to quote keys correctly 2009-01-16 17:57:45 +13:00
lifecycle_test.rb Added missing fixtures for tests which fail to run independently if run after schema reset 2008-08-04 11:50:15 +02:00
locking_test.rb Remove SQL Server cases from tests for latest adapter work to pass rails expected behavior. 2008-11-19 18:00:56 +01:00
method_scoping_test.rb Ensure Model#last doesn't affects order for another finders inside the same scope [#1499 state:resolved] 2008-12-21 23:24:06 +00:00
migration_test.rb Remove SQL Server cases from tests for latest adapter work to pass rails expected behavior. 2008-11-19 18:00:56 +01:00
migration_test_firebird.rb
mixin_test.rb
modules_test.rb
multiple_db_test.rb Move the transaction counter to the connection object rather than maintaining it on the current Thread. 2008-07-15 21:25:12 +02:00
named_scope_test.rb Make sure inner scope conditions get a preference over the outer ones 2009-01-24 17:54:10 +00:00
pk_test.rb
pooled_connections_test.rb Fix typo in pool_conections_test [#1350 state:committed] 2008-11-14 11:54:05 +01:00
query_cache_test.rb fix tests relying on implicit ordering 2008-08-26 02:17:36 -07:00
readonly_test.rb Fix file permissions 2008-07-31 16:36:23 -05:00
reflection_test.rb Introduce ActiveRecord::Reflection::ThroughReflection to simplify hm:t reflection logic 2008-10-04 17:49:39 +01:00
reload_models_test.rb Add missing fixture to allow reload models test to run isolated [#1609 state:resolved] 2008-12-20 20:39:25 +00:00
repair_helper.rb Add repair_helper.rb file I forgot in previous commit 8a92cd 2008-12-19 13:52:21 +00:00
reserved_word_test_mysql.rb
sanitize_test.rb Change all calls to String#chars to String#mb_chars. 2008-09-21 18:01:15 +02:00
schema_authorization_test_postgresql.rb Rescue spurious failures in case dummy postgresql user or schema already exists 2008-09-04 17:20:07 +02:00
schema_dumper_test.rb Autoload ActiveRecord files 2008-11-24 11:14:24 -06:00
schema_test_postgresql.rb
serialization_test.rb
synonym_test_oracle.rb
transactions_test.rb Fix PostgreSQL unit test failures that only occur when using the old 'postgres' driver. 2009-01-13 15:58:50 -08:00
unconnected_test.rb Fix file permissions 2008-07-31 16:36:23 -05:00
validations_i18n_test.rb Fix test names collision. 2008-12-10 11:10:22 -08:00
validations_test.rb Add a repair_helper to repair changes to the validations inside validations_test.rb [#674 state:resolved] 2008-12-19 13:37:50 +00:00
xml_serialization_test.rb Added a :camelize option to ActiveRecord and Hash to_xml serialization and from_xml deserialization 2008-12-10 20:28:05 +01:00