brianmario/mysql2 — pull request #341 by sodabrew (2012-12-03 08:36:03+00:00)
Title: Don't modify the connection's query_options with options set on a single query - Issue 243

First stab at code to fix issue #243. Options set on a single query should not affect subsequent queries, but should be retained for processing the query's results.

```ruby
@client.query "SELECT 1", :something => :else # set something else on this query
@client.query "SELECT 1" # however something else is not set on this query
```

Lemme sleep on this and check it again in the morning :)