From 5159562e6e95cccd5f85ff9b735b1c2f387476e8 Mon Sep 17 00:00:00 2001 From: Yasuo Honda Date: Wed, 26 Aug 2026 09:53:42 +0900 Subject: [PATCH] i18n(ja): fix broken multiplication-sign spacing in cost-model.md The markdownlint MD037 auto-fix in #23602 misidentified the literal multiplication asterisk as emphasis markup and stripped the surrounding spaces, producing "20* 8" instead of "20 * 8". Escapes the first asterisk (matching the English source) so markdownlint no longer treats it as emphasis. --- cost-model.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cost-model.md b/cost-model.md index f0287bc3249d8..a57e3ef751eb4 100644 --- a/cost-model.md +++ b/cost-model.md @@ -31,8 +31,8 @@ mysql> SHOW CREATE TABLE t; `SELECT * FROM t WHERE b < 100 and c < 100`文を実行するときに、TiDB が`b < 100`条件を満たす行が 20 行、 `c < 100`行が 500 行で、 `INT`種類のインデックスの長さが 8 であると見積もったとします。この場合、TiDB は 2 つのインデックスのコストを計算します。 -- インデックス`b`のコスト = 行数`b < 100` *インデックス`b`の長さ = 20* 8 = 160 -- インデックス`c`のコスト = 行数`c < 100` *インデックス`c`の長さ = 500* 8 = 4000 +- インデックス`b`のコスト = 行数`b < 100` \* インデックス`b`の長さ = 20 * 8 = 160 +- インデックス`c`のコスト = 行数`c < 100` \* インデックス`c`の長さ = 500 * 8 = 4000 インデックス`b`のコストが低いため、TiDB はインデックスとして`b`選択します。