Michael Schoen
2006-Jul-06 06:49 UTC
Rails AR/Oracle Unit Test: [4554] failed (but getting better)
"rick" has given AR/Oracle some love, but it''s still unhappy... http://dev.rubyonrails.org/changeset/4554 ------------------------------------------------------------------------ r4554 | rick | 2006-07-05 07:22:24 -0700 (Wed, 05 Jul 2006) | 1 line revert ActiveRecord equality change. Closes #5596 ------------------------------------------------------------------------ U activerecord/lib/active_record/base.rb Updated to revision 4554. 1) Failure: test_add_column(ActiveSchemaTest) [./test/active_schema_mysql_test.rb:20]: <"ALTER TABLE people ADD `last_name` varchar(255)"> expected but was <true>. 2) Failure: test_add_column_with_limit(ActiveSchemaTest) [./test/active_schema_mysql_test.rb:24]: <"ALTER TABLE `people` ADD key varchar(32)"> expected but was <true>. 3) Failure: test_drop_table(ActiveSchemaTest) [./test/active_schema_mysql_test.rb:16]: <"DROP TABLE people"> expected but was <true>. 4) Error: test_count_eager_with_has_many_and_limit_ond_high_offset(EagerAssociationTest): ActiveRecord::StatementInvalid: OCIError: ORA-00942: table or view does not exist: DELETE FROM people ./test/../lib/active_record/connection_adapters/abstract_adapter.rb:120:in `log'' ./test/../lib/active_record/connection_adapters/oracle_adapter.rb:277:in `delete'' ./test/../lib/active_record/fixtures.rb:283:in `delete_existing_fixtures'' ./test/../lib/active_record/fixtures.rb:256:in `create_fixtures'' ./test/../lib/active_record/fixtures.rb:256:in `create_fixtures'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:51:in `transaction'' ./test/../lib/active_record/fixtures.rb:255:in `create_fixtures'' ./test/../lib/active_record/base.rb:826:in `silence'' ./test/../lib/active_record/fixtures.rb:248:in `create_fixtures'' ./test/../lib/active_record/fixtures.rb:576:in `load_fixtures'' ./test/../lib/active_record/fixtures.rb:521:in `setup'' 5) Error: test_eager_association_loading_with_belongs_to(EagerAssociationTest): ActiveRecord::StatementInvalid: OCIError: ORA-00942: table or view does not exist: DELETE FROM people ./test/../lib/active_record/connection_adapters/abstract_adapter.rb:120:in `log'' ./test/../lib/active_record/connection_adapters/oracle_adapter.rb:277:in `delete'' ./test/../lib/active_record/fixtures.rb:283:in `delete_existing_fixtures'' ./test/../lib/active_record/fixtures.rb:256:in `create_fixtures'' ./test/../lib/active_record/fixtures.rb:256:in `create_fixtures'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:51:in `transaction'' ./test/../lib/active_record/fixtures.rb:255:in `create_fixtures'' ./test/../lib/active_record/base.rb:826:in `silence'' ./test/../lib/active_record/fixtures.rb:248:in `create_fixtures'' ./test/../lib/active_record/fixtures.rb:576:in `load_fixtures'' ./test/../lib/active_record/fixtures.rb:521:in `setup'' 6) Error: test_eager_association_loading_with_belongs_to_and_limit(EagerAssociationTest): ActiveRecord::StatementInvalid: OCIError: ORA-00942: table or view does not exist: DELETE FROM people ./test/../lib/active_record/connection_adapters/abstract_adapter.rb:120:in `log'' ./test/../lib/active_record/connection_adapters/oracle_adapter.rb:277:in `delete'' ./test/../lib/active_record/fixtures.rb:283:in `delete_existing_fixtures'' ./test/../lib/active_record/fixtures.rb:256:in `create_fixtures'' ./test/../lib/active_record/fixtures.rb:256:in `create_fixtures'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:51:in `transaction'' ./test/../lib/active_record/fixtures.rb:255:in `create_fixtures'' ./test/../lib/active_record/base.rb:826:in `silence'' ./test/../lib/active_record/fixtures.rb:248:in `create_fixtures'' ./test/../lib/active_record/fixtures.rb:576:in `load_fixtures'' ./test/../lib/active_record/fixtures.rb:521:in `setup'' 7) Error: test_eager_association_loading_with_belongs_to_and_limit_and_conditions(EagerAssociationTest): ActiveRecord::StatementInvalid: OCIError: ORA-00942: table or view does not exist: DELETE FROM people ./test/../lib/active_record/connection_adapters/abstract_adapter.rb:120:in `log'' ./test/../lib/active_record/connection_adapters/oracle_adapter.rb:277:in `delete'' ./test/../lib/active_record/fixtures.rb:283:in `delete_existing_fixtures'' ./test/../lib/active_record/fixtures.rb:256:in `create_fixtures'' ./test/../lib/active_record/fixtures.rb:256:in `create_fixtures'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:51:in `transaction'' ./test/../lib/active_record/fixtures.rb:255:in `create_fixtures'' ./test/../lib/active_record/base.rb:826:in `silence'' ./test/../lib/active_record/fixtures.rb:248:in `create_fixtures'' ./test/../lib/active_record/fixtures.rb:576:in `load_fixtures'' ./test/../lib/active_record/fixtures.rb:521:in `setup'' 8) Error: test_eager_association_loading_with_belongs_to_and_limit_and_multiple_associations(EagerAssociationTest): ActiveRecord::StatementInvalid: OCIError: ORA-00942: table or view does not exist: DELETE FROM people ./test/../lib/active_record/connection_adapters/abstract_adapter.rb:120:in `log'' ./test/../lib/active_record/connection_adapters/oracle_adapter.rb:277:in `delete'' ./test/../lib/active_record/fixtures.rb:283:in `delete_existing_fixtures'' ./test/../lib/active