Skip to content

Commit 87074a0

Browse files
tenderlovesodabrew
andcommitted
Fix syntax
Just some syntax fixes that should have been in the original PR. Co-Authored-By: Aaron Stone <[email protected]>
1 parent 2b0a831 commit 87074a0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/mysql2/client_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1091,8 +1091,8 @@ def run_gc
10911091
end
10921092

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

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

0 commit comments

Comments
 (0)