From 0585beee02ab7c533897aebf884fc63a8b0bc691 Mon Sep 17 00:00:00 2001 From: yuanyuan8983 <99315889+yuanyuan8983@users.noreply.github.com> Date: Mon, 16 Oct 2023 14:29:00 +0800 Subject: [PATCH] [typo](docs) Modify parameter description (#23782) --- docs/en/docs/advanced/variables.md | 2 +- docs/zh-CN/docs/advanced/variables.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/en/docs/advanced/variables.md b/docs/en/docs/advanced/variables.md index 0ac94b7087..59ec3992cf 100644 --- a/docs/en/docs/advanced/variables.md +++ b/docs/en/docs/advanced/variables.md @@ -639,7 +639,7 @@ Note that the comment must start with /*+ and can only follow the SELECT. - Use a fixed replica to query. If use_fix_replica is 1, the smallest one is used, if use_fix_replica is 2, the second smallest one is used, and so on. The default value is -1, which means it is not enabled. + Use a fixed replica to query. replica starts with 0 and if use_fix_replica is 0, the smallest is used, if use_fix_replica is 1, the second smallest is used, and so on. The default value is -1, indicating that the function is disabled. * `dry_run_query` diff --git a/docs/zh-CN/docs/advanced/variables.md b/docs/zh-CN/docs/advanced/variables.md index bee0717993..1719607041 100644 --- a/docs/zh-CN/docs/advanced/variables.md +++ b/docs/zh-CN/docs/advanced/variables.md @@ -627,7 +627,7 @@ try (Connection conn = DriverManager.getConnection("jdbc:mysql://127.0.0.1:9030/ - 使用固定的replica进行查询,该值表示固定使用第几小的replica,默认为-1表示不启用。 + 使用固定replica进行查询。replica从0开始,如果use_fix_replica为0,则使用最小的,如果use_fix_replica为1,则使用第二个最小的,依此类推。默认值为-1,表示未启用。 * `dry_run_query`