Skip to content

Instantly share code, notes, and snippets.

@bpot
Created October 8, 2009 04:50
Show Gist options
  • Save bpot/204729 to your computer and use it in GitHub Desktop.
Save bpot/204729 to your computer and use it in GitHub Desktop.
require 'rubygems'
require 'mysqlplus'
m = Mysql.real_connect('localhost','root')
m.send_query("SELECT 1")
p m.stat # should raise error?
m.get_result() # hangs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment