Skip to content
This repository was archived by the owner on Jun 24, 2021. It is now read-only.

Commit

Permalink
add config of server-version (#1238)
Browse files Browse the repository at this point in the history
  • Loading branch information
reafans authored Mar 26, 2020
1 parent 77122ef commit 6ea5dfc
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions conf/tidb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,12 @@ global:
# the data type of its primary key column is an integer, the primary key cannot be dropped.
# alter-primary-key: false

# server-version is used to change the version string of TiDB in the following scenarios:
# 1. the server version returned by builtin-function `VERSION()`.
# 2. the server version filled in handshake packets of MySQL Connection Protocol, see https://dev.mysql.com/doc/internals/en/connection-phase-packets.html#packet-Protocol::Handshake for more details.
# if server-version = "", the default value(original TiDB version string) is used.
server-version: ""

log:
# Log level: debug, info, warn, error, fatal.
# level: "info"
Expand Down
6 changes: 6 additions & 0 deletions roles/tidb/vars/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,12 @@ global:
# the data type of its primary key column is an integer, the primary key cannot be dropped.
alter-primary-key: false

# server-version is used to change the version string of TiDB in the following scenarios:
# 1. the server version returned by builtin-function `VERSION()`.
# 2. the server version filled in handshake packets of MySQL Connection Protocol, see https://dev.mysql.com/doc/internals/en/connection-phase-packets.html#packet-Protocol::Handshake for more details.
# if server-version = "", the default value(original TiDB version string) is used.
server-version: ""

log:
# Log level: debug, info, warn, error, fatal.
level: "info"
Expand Down

0 comments on commit 6ea5dfc

Please sign in to comment.