I changed the

    def cast_to_string(clause)
      "CAST(#{clause} AS CHAR)"
    end

to


    def cast_to_string(clause)
      "CAST(#{clause} AS CHAR(20))"
    end


in the mysql adapter.

It did fix the problem. Is this the proper fix or is there a better
way to do it?


steve
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Thinking Sphinx" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/thinking-sphinx?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to