Hi there,
MySQL doesn't use the :limit option like most other databases do. In
MySQL :limit sets the number of characters displayed, not the number of
bytes in a column. MySQL uses different integer types for this purpose.
See http://dev.mysql.com/doc/refman/5.0/en/numeric-types.html for
additional information on this.
I submitted patch #4353 quite a while ago to allow the use of bigint
integer types in MySQL. I got some feedback David and generalized it so
that :limit determines the MySQL integer type to be used. And, just
recently, I refactored it again so that it would work without changing
any of the other database adapters.
Can somebody take a look at this? I'm willing to make additional
changes if necessary.
Thanks,
Steve
_______________________________________________
Rails-core mailing list
Rails-core@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-core