Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > a patch for ruby-dbi mysql - fixes problem with stored procs

Reply
Thread Tools

a patch for ruby-dbi mysql - fixes problem with stored procs

 
 
Michael Ravits
Guest
Posts: n/a
 
      09-20-2007
Append "mysql_client_multi_results=1" to your DSN, like this:

@dbh =
DBI.connect("DBI:Mysql:database=mydatabase;host=lo calhost;mysql_client_multi_results=1",
"root", "password")

Attachments:
http://www.ruby-forum.com/attachment..._results.patch

--
Posted via http://www.ruby-forum.com/.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Two-way Sorting Using Stored Procs... Roy ASP .Net 4 06-02-2005 10:57 PM
Multiple stored procs for dataadapter =?Utf-8?B?QUtKVFI=?= ASP .Net 1 12-21-2004 11:58 AM
procs/blocks - blocks with procs, blocks with blocks? matt Ruby 1 08-06-2004 01:33 AM
ASP.NET webforms cannot exec stored procs Paul R ASP .Net 1 12-02-2003 05:36 PM



Advertisments