This change appears to have broken a whole slew of ActiveRecord tests
running JRuby trunk + AR-JDBC trunk -- the commit was the only one
that I can see that would have triggered it.

http://jruby.thresher.com/browse/ARJDBC-TRUNK-115
http://jruby.thresher.com/browse/ACTIVERECORD-MYSQLTRUNK-597
http://viewvc.rubyforge.mmmultiworks.com/cgi/viewvc.cgi/trunk/activerecord-jdbc/lib/active_record/connection_adapters/jdbc_adapter.rb?content-type=text/vnd.viewcvs-markup&root=jruby-extras&r1=727&r2=728

Looks like most of the errors look like the following:

[INFO] 244) Error:
[INFO] test_native_types(MigrationTest):
[INFO] ActiveRecord::StatementInvalid: NativeException:
com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: You have an error
in your SQL syntax; check the manual that corresponds to your MySQL
server version for the right syntax to use near '(1)' at line 1: ALTER
TABLE people ADD `male` bool(1)
[INFO]     
/Users/nicksieger/Projects/jruby/trunk/testsuites/activerecord/target/activerecord/../activerecord-jdbc/lib/active_record/connection_adapters/jdbc_adapter.rb:551:in
`log_no_bench'

Looks related -- did I miss anything?  Could you please revert until a
better solution is found?

Thanks,
/Nick
_______________________________________________
Jruby-extras-devel mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/jruby-extras-devel

Reply via email to