E. Litwin wrote:
> I've still had to hack the mysql_adapter to set a flag upon opening
> the MySQL database connection in order to be able to use SPs:
> 
> module ActiveRecord
>   class Base
>     def self.mysql_connection(config)
>        ...
>        # last line of method - add 65536 flag
>        ConnectionAdapters::MysqlAdapter.new(mysql, logger, [host,
> username, password, database, port, socket, 65536], config)
>     end
>   end
> end
> 
> This has worked for me, and I have not read about a fix in 2.x to
> handle this.

I've submitted a patch to Rails 2.3.4 fixing this problem - any support 
for my ticket is appreciated!

 
https://rails.lighthouseapp.com/projects/8994/tickets/3151-mysql-adapter-update-to-enable-use-of-stored-procedures
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" 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/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to