Hi,
For those looking at executing MySQL stored procedure, the current
patch is required against v.0.3.4
Index: lib/sequel/mysql.rb
===================================================================
--- lib/sequel/mysql.rb (revision 523)
+++ lib/sequel/mysql.rb (working copy)
@@ -93,7 +93,7 @@
def connect
conn = Mysql.real_connect(@opts[:host], @opts[:user],
@opts[:password],
- @opts[:database], @opts[:port])
+ @opts[:database], @opts[:port], nil,
Mysql::CLIENT_MULTI_RESULTS)
conn.query_with_result = false
if encoding = @opts[:encoding] || @opts[:charset]
conn.query("set character_set_connection = '#{encoding}'")
Actually I don't believe setting the CLIENT_MULTI_RESULTS flag is
going to break anything since the query_with_result is set to false
already, so it might be worth considering for future releases.
Cheers!
Sébastien
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sequel-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/sequel-talk?hl=en
-~----------~----~----~----~------~----~------~--~---