"bitsweat" made AR/Oracle cry...
http://dev.rubyonrails.org/changeset/5937
------------------------------------------------------------------------
r5937 | bitsweat | 2007-01-14 18:22:53 -0800 (Sun, 14 Jan 2007) | 1 line
change_column accepts :default => nil. Closes #6956.
------------------------------------------------------------------------
U activerecord/test/migration_test.rb
U
activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb
U
activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb
U activerecord/lib/active_record/connection_adapters/sqlite_adapter.rb
U activerecord/lib/active_record/connection_adapters/frontbase_adapter.rb
U activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb
U activerecord/lib/active_record/connection_adapters/mysql_adapter.rb
U activerecord/lib/active_record/connection_adapters/firebird_adapter.rb
U activerecord/lib/active_record/connection_adapters/sqlserver_adapter.rb
U activerecord/lib/active_record/connection_adapters/sybase_adapter.rb
U activerecord/CHANGELOG
Updated to revision 5937.
1) Error:
test_load_schema(AAACreateTablesTest):
ActiveRecord::StatementInvalid:
./test/../lib/active_record/connection_adapters/abstract_adapter.rb:128:in
`log'': OCIError: ORA-00907: missing right parenthesis: CREATE TABLE
taggings (id NUMBER(38) NOT NULL PRIMARY KEY DEFAULT NULL, tag_id NUMBER(38)
DEFAULT NULL, super_tag_id NUMBER(38) DEFAULT NULL, taggable_type VARCHAR2(255)
DEFAULT NULL, taggable_id NUMBER(38) DEFAULT NULL)
./test/aaa_create_tables_test.rb:18:in `test_load_schema''
./test/../lib/active_record/connection_adapters/oracle_adapter.rb:223:in
`execute''
./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:104:in
`create_table''
./test/../lib/active_record/connection_adapters/oracle_adapter.rb:353:in
`create_table''
./test/../lib/active_record/migration.rb:274:in `method_missing''
./test/../lib/active_record/migration.rb:258:in `say_with_time''
/usr/pkg/ruby184/lib/ruby/1.8/benchmark.rb:293:in `measure''
./test/../lib/active_record/migration.rb:258:in `say_with_time''
./test/../lib/active_record/migration.rb:272:in `method_missing''
(eval):13:in `test_load_schema''
./test/../lib/active_record/schema.rb:43:in `define''
(eval):1:in `test_load_schema''
./test/aaa_create_tables_test.rb:18:in `test_load_schema''
2) Error:
test_schema_define(ActiveRecordSchemaTest):
ActiveRecord::StatementInvalid: OCIError: ORA-00907: missing right parenthesis:
CREATE TABLE fruits (id NUMBER(38) NOT NULL PRIMARY KEY DEFAULT NULL, color
VARCHAR2(255) DEFAULT NULL, fruit_size VARCHAR2(255) DEFAULT NULL, texture
VARCHAR2(255) DEFAULT NULL, flavor VARCHAR2(255) DEFAULT NULL)
./test/../lib/active_record/connection_adapters/abstract_adapter.rb:128:in
`log''
./test/../lib/active_record/connection_adapters/oracle_adapter.rb:223:in
`execute''
./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:104:in
`create_table''
./test/../lib/active_record/connection_adapters/oracle_adapter.rb:353:in
`create_table''
./test/../lib/active_record/migration.rb:274:in `method_missing''
./test/../lib/active_record/migration.rb:258:in `say_with_time''
/usr/pkg/ruby184/lib/ruby/1.8/benchmark.rb:293:in `measure''
./test/../lib/active_record/migration.rb:258:in `say_with_time''
./test/../lib/active_record/migration.rb:272:in `method_missing''
./test/ar_schema_test.rb:19:in `test_schema_define''
./test/../lib/active_record/schema.rb:43:in `define''
./test/ar_schema_test.rb:18:in `test_schema_define''
3) Error:
test_add_to_self_referential_has_many_through(AssociationsJoinModelTest):
ActiveRecord::StatementInvalid: OCIError: ORA-00942: table or view does not
exist: DELETE FROM taggings
./test/../lib/active_record/connection_adapters/abstract_adapter.rb:128:in
`log''
./test/../lib/active_record/connection_adapters/oracle_adapter.rb:223:in
`execute''
./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:42:in
`update''
./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:47: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:59:in
`transaction''
./test/../lib/active_record/fixtures.rb:255:in `create_fixtures''
./test/../lib/active_record/base.rb:866:in `silence''
./test/../lib/active_record/fixtures.rb:248:in `create_fixtures''
./test/../lib/active_record/fixtures.rb:579:in `load_fixtures''
./test/../lib/active_record/fixtures.rb:533:in `setup''
4) Error:
test_adding_junk_to_has_many_through_should_raise_type_mismatch(AssociationsJoinModelTest):
ActiveRecord::StatementInvalid: OCIError: ORA-00942: table or view does not
exist: DELETE FROM taggings
./test/../lib/active_record/connection_adapters/abstract_adapter.rb:128:in
`log''
./test/../lib/active_record/connection_adapters/oracle_adapter.rb:223:in
`execute''
./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:42:in
`update''
./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:47: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:59:in
`transaction''
./test/../lib/active_record/fixtures.rb:255:in `create_fixtures''
./test/../lib/active_record/base.rb:866:in `silence''
./test/../lib/active_record/fixtures.rb:248:in `create_fixtures''
./test/../lib/active_record/fixtures.rb:579:in `load_fixtures''
./test/../lib/active_record/fixtures.rb:533:in `setup''
5) Error:
test_adding_to_has_many_through
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Core" group.
To post to this group, send email to rubyonrails-core@googlegroups.com
To unsubscribe from this group, send email to
rubyonrails-core-unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/rubyonrails-core?hl=en
-~----------~----~----~----~------~----~------~--~---