Skip to content

fix: set tidb tunning variables only when connected to valid tidb#188

Merged
Yui-Song merged 8 commits intopingcap:masterfrom
MimeLyc:yuchao/fix_tidb_tunning
Feb 26, 2025
Merged

fix: set tidb tunning variables only when connected to valid tidb#188
Yui-Song merged 8 commits intopingcap:masterfrom
MimeLyc:yuchao/fix_tidb_tunning

Conversation

@MimeLyc
Copy link
Copy Markdown
Contributor

@MimeLyc MimeLyc commented Feb 24, 2025

Issue Number: close #187

According to System Variables | TiDB Docs, set TiDB QueryTuningVars only when connected to TiDB(>=7.1.0).

It's still a rough comparison to quickly fix the compatibility issue.

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Feb 24, 2025

CLA assistant check
All committers have signed the CLA.

@MimeLyc
Copy link
Copy Markdown
Contributor Author

MimeLyc commented Feb 24, 2025

@zanmato1984
@Yui-Song
pls cc

Comment thread cmd/go-tpc/tpch.go Outdated
@MimeLyc MimeLyc requested a review from zanmato1984 February 25, 2025 07:09
Comment thread cmd/go-tpc/tpch.go
Comment thread cmd/go-tpc/tpch.go
Comment thread cmd/go-tpc/tpch.go Outdated
Comment thread cmd/go-tpc/tpch.go Outdated
@MimeLyc MimeLyc requested a review from zanmato1984 February 25, 2025 16:05
Copy link
Copy Markdown
Contributor

@zanmato1984 zanmato1984 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Besides those two nits. This LGTM.

Comment thread pkg/util/version.go Outdated
@zanmato1984
Copy link
Copy Markdown
Contributor

I think it's good to go now.

@Yui-Song Yui-Song merged commit 46cd10e into pingcap:master Feb 26, 2025
@MimeLyc MimeLyc deleted the yuchao/fix_tidb_tunning branch February 27, 2025 03:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

go-tpc tpch run Command Not Working for MySQL

4 participants