Skip to content

Commit

Permalink
Punctuation fix: Replace 。with .
Browse files Browse the repository at this point in the history
```
sed -i 's/。/./g' $(git grep -l 。 | egrep '\.md')
```
  • Loading branch information
dveeden committed Jul 20, 2021
1 parent 9300917 commit e9a110c
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion enable-tls-between-clients-and-servers.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,4 +183,4 @@ The newly loaded certificate, key, and CA take effect on the connection that is

### See also

- [Enable TLS Between TiDB Components](/enable-tls-between-components.md)
- [Enable TLS Between TiDB Components](/enable-tls-between-components.md).
2 changes: 1 addition & 1 deletion predicate-push-down.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ explain select * from t left join s on t.a = s.a where s.a is null;
6 rows in set (0.00 sec)
```

In this query,there is a predicate `s.a is null` on the inner table `s`
In this query,there is a predicate `s.a is null` on the inner table `s`.

From the `explain` results,we can see that the predicate is not pushed below join operator. This is because the outer join fills the inner table with `NULL` values when the `on` condition isn't satisfied, and the predicate `s.a is null` is used to filter the results after the join. If it is pushed down to the inner table below join, the execution plan is not equivalent to the original one.

Expand Down
2 changes: 1 addition & 1 deletion sql-statements/sql-statement-show-analyze-status.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: SHOW ANALYZE STATUS
summary: An overview of the usage of SHOW ANALYZE STATUS for the TiDB database
summary: An overview of the usage of SHOW ANALYZE STATUS for the TiDB database.
aliases: ['/docs/dev/sql-statements/sql-statement-show-analyze-status/']
---

Expand Down
2 changes: 1 addition & 1 deletion sql-statements/sql-statement-show-histograms.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: SHOW STATS_HISTOGRAMS
summary: An overview of the usage of SHOW HISTOGRAMS for TiDB database
summary: An overview of the usage of SHOW HISTOGRAMS for TiDB database.
aliases: ['/docs/dev/sql-statements/sql-statement-show-histograms/']
---

Expand Down
2 changes: 1 addition & 1 deletion tidb-binlog/tidb-binlog-faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ To solve the problem, follow these steps:
3. Check `drainer.log`. Search for the failed DDL operation and find the `commit-ts` of this operation. For example:

```
[2020/05/21 09:51:58.019 +08:00] [INFO] [syncer.go:398] ["add ddl item to syncer, you can add this commit ts to `ignore-txn-commit-ts` to skip this ddl if needed"] [sql="ALTER TABLE `test` ADD INDEX (`index1`)"] ["commit ts"=416815754209656834]
[2020/05/21 09:51:58.019 +08:00] [INFO] [syncer.go:398] ["add ddl item to syncer, you can add this commit ts to `ignore-txn-commit-ts` to skip this ddl if needed"] [sql="ALTER TABLE `test` ADD INDEX (`index1`)"] ["commit ts"=416815754209656834].
```

4. Modify the `drainer.toml` configuration file. Add the `commit-ts` in the `ignore-txn-commit-ts` item and restart the Drainer node.
Expand Down
2 changes: 1 addition & 1 deletion user-defined-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ SELECT @a1, @a2, @a3, @a4 := @a1+@a2+@a3;
+------+------+------+--------------------+
```

Before the variable `@a4` is modified or the connection is closed, its value is always `7`
Before the variable `@a4` is modified or the connection is closed, its value is always `7`.

If a hexadecimal literal or binary literal is used when setting the user-defined variable, TiDB will treat it as a binary string. If you want to set it to a number, you can manually add the `CAST` conversion, or use the numeric operator in the expression:

Expand Down

0 comments on commit e9a110c

Please sign in to comment.