Skip to content

Commit

Permalink
Fix wording in optimizer-hints.md (pingcap#4603)
Browse files Browse the repository at this point in the history
* Fix wording

* Update optimizer-hints.md

* Update optimizer-hints.md
  • Loading branch information
TomShawn authored Oct 12, 2020
1 parent 76c2d38 commit a04da07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion optimizer-hints.md
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ SELECT /*+ READ_FROM_STORAGE(TIFLASH[t1], TIKV[t2]) */ t1.a FROM t t1, t t2 WHER

> **注意:**
>
> 如果需要提示优化器使用的表不在同一个数据库内,需要显示声明 `SCHEMA_NAME`。例如 `SELECT /*+ READ_FROM_STORAGE(TIFLASH[test1.t1,test2.t2]) */ t1.a FROM test1.t t1, test2.t t2 WHERE t1.a = t2.a;`
> 如果需要提示优化器使用的表不在同一个数据库内,需要显式指定数据库名。例如 `SELECT /*+ READ_FROM_STORAGE(TIFLASH[test1.t1,test2.t2]) */ t1.a FROM test1.t t1, test2.t t2 WHERE t1.a = t2.a;`
### USE_INDEX_MERGE(t1_name, idx1_name [, idx2_name ...])

Expand Down

0 comments on commit a04da07

Please sign in to comment.