From 21d047dd8aba8cb45af9d38f958db92281ed3b8c Mon Sep 17 00:00:00 2001 From: lilin90 Date: Tue, 16 Oct 2018 15:23:48 +0800 Subject: [PATCH] op-guide: fix variable description --- op-guide/history-read.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/op-guide/history-read.md b/op-guide/history-read.md index aa1020f6882c..4bd4824f2ae2 100644 --- a/op-guide/history-read.md +++ b/op-guide/history-read.md @@ -100,7 +100,7 @@ TiDB 使用周期性运行的 GC(Garbage Collection,垃圾回收)来进行 > **注意**: > > - 这里的时间设置的是 update 语句之前的那个时间。 - > - 在 `tidb_snapshot` 前须使用 `@@` 而非 `@`,因为 `@@` 表示全局变量,`@` 表示 Session 变量。 + > - 在 `tidb_snapshot` 前须使用 `@@` 而非 `@`,因为 `@@` 表示系统变量,`@` 表示用户变量。 这里读取到的内容即为 update 之前的内容,也就是历史版本: @@ -135,4 +135,4 @@ TiDB 使用周期性运行的 GC(Garbage Collection,垃圾回收)来进行 3 rows in set (0.00 sec) ``` - > **注意**:在 `tidb_snapshot` 前须使用 `@@` 而非 `@`,因为 `@@` 表示全局变量,`@` 表示 Session 变量。 \ No newline at end of file + > **注意**:在 `tidb_snapshot` 前须使用 `@@` 而非 `@`,因为 `@@` 表示系统变量,`@` 表示用户变量。 \ No newline at end of file