Skip to content

Commit

Permalink
set transaction_write_set_extraction in test
Browse files Browse the repository at this point in the history
  • Loading branch information
meiji163 committed Oct 17, 2024
1 parent c5e239c commit 2e78f6f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions go/logic/migrator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,9 @@ func prepareDatabase(t *testing.T, db *gosql.DB) {
_, err := db.Exec("RESET MASTER")
require.NoError(t, err)

_, err = db.Exec("SET @@GLOBAL. transaction_write_set_extraction = XXHASH64")
require.NoError(t, err)

_, err = db.Exec("SET @@GLOBAL. binlog_transaction_dependency_tracking = WRITESET")
require.NoError(t, err)

Expand Down

0 comments on commit 2e78f6f

Please sign in to comment.