This project is archived and is in readonly mode.
AR Test failure on latest mysql
getting this for 5.0.51a when running the AR test suite:
test_nil_defaults_for_not_null_columns(DefaultTest) [./test/cases/defaults_test.rb:17:in `test_nil_defaults_for_not_null_columns' ./test/cases/defaults_test.rb:14:in `each' ./test/cases/defaults_test.rb:14:in `test_nil_defaults_for_not_null_columns' ./test/cases/../../lib/../../activesupport/lib/active_support/testing/setup_and_teardown.rb:59:in `__send__' ./test/cases/../../lib/../../activesupport/lib/active_support/testing/setup_and_teardown.rb:59:in `run']: name column should be DEFAULT "". <""> expected but was <nil>.
Comments and changes to this ticket
- Tag set to activerecord, patch, tests
I am still getting errors with mysql 5.1.3 and also 5.0.67 using the mysql 2.7 gem.
Is anyone else having trouble with other versions?
I noticed it was changed to the following on rails 2.2.2
(Mysql.client_version < 50051 || (50100..50122).include?(Mysql.client_version))
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>