Skip to content

Instantly share code, notes, and snippets.

@jakehow
Created December 1, 2008 03:21
Show Gist options
  • Save jakehow/30604 to your computer and use it in GitHub Desktop.
Save jakehow/30604 to your computer and use it in GitHub Desktop.
>> cx.class
=> Mysql
>> my.class
=> Mysql
>> my.query(sql)
=> #<Mysql::Result:0x2adfbf80ea48>
>> cx.query(sql)
Mysql::Error: The SELECT would examine more than MAX_JOIN_SIZE rows; check your WHERE and use SET SQL_BIG_SELECTS=1 or SET SQL_MAX_JOIN_SIZE=# if the SELECT is okay
from (irb):41:in `query'
from (irb):41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment