From d50ad5b76998e6806e8de736347e1fe4576ce57b Mon Sep 17 00:00:00 2001 From: Leon Zhang Date: Wed, 28 Aug 2019 10:27:51 +0800 Subject: [PATCH] update test result with latest mysql docker image --- test/fixture/test_Run_all_test_cases.golden | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/test/fixture/test_Run_all_test_cases.golden b/test/fixture/test_Run_all_test_cases.golden index 1580fbe..c5424ec 100644 --- a/test/fixture/test_Run_all_test_cases.golden +++ b/test/fixture/test_Run_all_test_cases.golden @@ -3861,7 +3861,7 @@ GROUP BY | id | select\_type | table | partitions | type | possible_keys | key | key\_len | ref | rows | filtered | scalability | Extra | |---|---|---|---|---|---|---|---|---|---|---|---|---| -| 1 | SIMPLE | *actor* | NULL | ref | idx\_actor\_last\_name | idx\_actor\_last\_name | 137 | const | 2 | 16.67% | O(log n) | Using where; Using temporary | +| 1 | SIMPLE | *actor* | NULL | ref | idx\_actor\_last\_name | idx\_actor\_last\_name | 137 | const | 2 | 20.00% | O(log n) | Using where; Using temporary | @@ -4045,7 +4045,7 @@ FROM # Query: E48A20D0413512DA -★ ★ ☆ ☆ ☆ 40分 +★ ☆ ☆ ☆ ☆ 30分 ```sql @@ -4128,6 +4128,17 @@ ORDER BY +## 为sakila库的customer\_list表添加索引 + +* **Item:** IDX.002 + +* **Severity:** L2 + + +* **Case:** ALTER TABLE \`sakila\`.\`customer\_list\` add index \`idx\_city\` (\`city\`), add index \`idx\_address\` (\`address\`), add index \`idx\_SID\_phone\` (\`SID\`,\`phone\`) ; + + + ## 建议使用 AS 关键字显示声明一个别名 * **Item:** ALI.001 -- GitLab