Skip to content

Commit e7e0336

Browse files
junlan-zhanglilin90
authored andcommitted
tools: add sql-mode config for sync-diff-inspector (#1650)
1 parent 2d7b5f0 commit e7e0336

File tree

4 files changed

+16
-0
lines changed

4 files changed

+16
-0
lines changed

dev/reference/tools/sync-diff-inspector/overview.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,8 @@ fix-sql-file = "fix.sql"
185185
# Uses the snapshot function of TiDB.
186186
# If enabled, the history data is used for comparison.
187187
# snapshot = "2016-10-08 16:45:26"
188+
# Sets the `sql-mode` of the database to parse table structures.
189+
# sql-mode = ""
188190

189191
# Configuration of the target database instance
190192
[target-db]
@@ -195,6 +197,8 @@ fix-sql-file = "fix.sql"
195197
# Uses the snapshot function of TiDB.
196198
# If enabled, the history data is used for comparison.
197199
# snapshot = "2016-10-08 16:45:26"
200+
# Sets the `sql-mode` of the database to parse table structures.
201+
# sql-mode = ""
198202
```
199203

200204
### Run sync-diff-inspector

v2.1/reference/tools/sync-diff-inspector/overview.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,8 @@ fix-sql-file = "fix.sql"
186186
# Uses the snapshot function of TiDB.
187187
# If enabled, the history data is used for comparison.
188188
# snapshot = "2016-10-08 16:45:26"
189+
# Sets the `sql-mode` of the database to parse table structures.
190+
# sql-mode = ""
189191

190192
# Configuration of the target database instance
191193
[target-db]
@@ -196,6 +198,8 @@ fix-sql-file = "fix.sql"
196198
# Uses the snapshot function of TiDB.
197199
# If enabled, the history data is used for comparison.
198200
# snapshot = "2016-10-08 16:45:26"
201+
# Sets the `sql-mode` of the database to parse table structures.
202+
# sql-mode = ""
199203
```
200204

201205
### Run sync-diff-inspector

v3.0/reference/tools/sync-diff-inspector/overview.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,8 @@ fix-sql-file = "fix.sql"
186186
# Uses the snapshot function of TiDB.
187187
# If enabled, the history data is used for comparison.
188188
# snapshot = "2016-10-08 16:45:26"
189+
# Sets the `sql-mode` of the database to parse table structures.
190+
# sql-mode = ""
189191

190192
# Configuration of the target database instance
191193
[target-db]
@@ -196,6 +198,8 @@ fix-sql-file = "fix.sql"
196198
# Uses the snapshot function of TiDB.
197199
# If enabled, the history data is used for comparison.
198200
# snapshot = "2016-10-08 16:45:26"
201+
# Sets the `sql-mode` of the database to parse table structures.
202+
# sql-mode = ""
199203
```
200204

201205
### Run sync-diff-inspector

v3.1/reference/tools/sync-diff-inspector/overview.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,8 @@ fix-sql-file = "fix.sql"
185185
# Uses the snapshot function of TiDB.
186186
# If enabled, the history data is used for comparison.
187187
# snapshot = "2016-10-08 16:45:26"
188+
# Sets the `sql-mode` of the database to parse table structures.
189+
# sql-mode = ""
188190

189191
# Configuration of the target database instance
190192
[target-db]
@@ -195,6 +197,8 @@ fix-sql-file = "fix.sql"
195197
# Uses the snapshot function of TiDB.
196198
# If enabled, the history data is used for comparison.
197199
# snapshot = "2016-10-08 16:45:26"
200+
# Sets the `sql-mode` of the database to parse table structures.
201+
# sql-mode = ""
198202
```
199203

200204
### Run sync-diff-inspector

0 commit comments

Comments
 (0)