rails/rails — pull request #4190 by yahonda (2011-12-26 00:03:01+00:00)
Title: Fixed ORA-00972 error

When activerecord unit tests are execued with Oracle, test_rename_table_with_prefix_and_suffix
got a failure because the new sequence name length exceeds 30 characters, Oracle spec.

This commit address this error, This fix also works with pg, mysql and mysql2 adapters.

```ruby
$ cd activerecord
$ rake test_oracle
... snip ...
3) Error:
test_rename_table_with_prefix_and_suffix(MigrationTest):
ArgumentError: New sequence name 'prefix_awesome_things_suffix_seq' is too long; the limit is 30 characters
/var/lib/jenkins/.rvm/gems/ruby-1.9.3-p0@rails_master/bundler/gems/oracle-enhanced-0c2270624bc8/lib/active_record/connection_adapters/oracle_enhanced_schema_statements.rb:105:in `rename_table'
/var/lib/jenkins/jobs/rails_test_oracle/workspace/activerecord/lib/active_record/migration.rb:449:in `block in method_missing'
/var/lib/jenkins/jobs/rails_test_oracle/workspace/activerecord/lib/active_record/migration.rb:423:in `block in say_with_time'
```