#1142 ✓not-applicable

Cohersion bug when using do_postgres and jruby

Reported by EccentricLamb | December 2nd, 2009 @ 10:42 AM | in 1.0.0

When using do_postgres under jruby, strings, which represent floats, are not being coerced properly into floats when the first digit is 0.

Example code at http://gist.github.com/247324

The example works under MRI 1.8.7 using do_mysql and do_posgres.
The example works under jruby using do_mysql.

The example fails under jruby using do_postgres

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »