Skip to content

Commit

Permalink
Merge pull request #1223 from brianmario/fix-syntax
Browse files Browse the repository at this point in the history
Fix syntax
  • Loading branch information
tenderlove authored Nov 30, 2021
2 parents 2b0a831 + 87074a0 commit 217ac2e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/mysql2/client_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1091,8 +1091,8 @@ def run_gc
end

it "returns valid transaction state inside a transaction" do
@client.query("SET @@SESSION.session_track_transaction_info='CHARACTERISTICS';")
@client.query("START TRANSACTION;")
@client.query("SET @@SESSION.session_track_transaction_info='CHARACTERISTICS'")
@client.query("START TRANSACTION")

res = @client.session_track(Mysql2::Client::SESSION_TRACK_TRANSACTION_STATE)
expect(res).to eq(["T_______"])
Expand Down

0 comments on commit 217ac2e

Please sign in to comment.