Skip to content

Commit

Permalink
tools: add sql-mode config for sync-diff-inspector
Browse files Browse the repository at this point in the history
  • Loading branch information
junlan-zhang committed Nov 13, 2019
1 parent 21992c1 commit 7475d23
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 0 deletions.
4 changes: 4 additions & 0 deletions dev/reference/tools/sync-diff-inspector/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,8 @@ fix-sql-file = "fix.sql"
# Uses the snapshot function of TiDB.
# If enabled, the history data is used for comparison.
# snapshot = "2016-10-08 16:45:26"
# Sets the `sql-mode` of the database to parse table structures.
# sql-mode = ""

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

### Run sync-diff-inspector
Expand Down
4 changes: 4 additions & 0 deletions v2.1/reference/tools/sync-diff-inspector/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,8 @@ fix-sql-file = "fix.sql"
# Uses the snapshot function of TiDB.
# If enabled, the history data is used for comparison.
# snapshot = "2016-10-08 16:45:26"
# Sets the `sql-mode` of the database to parse table structures.
# sql-mode = ""

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

### Run sync-diff-inspector
Expand Down
4 changes: 4 additions & 0 deletions v3.0/reference/tools/sync-diff-inspector/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,8 @@ fix-sql-file = "fix.sql"
# Uses the snapshot function of TiDB.
# If enabled, the history data is used for comparison.
# snapshot = "2016-10-08 16:45:26"
# Sets the `sql-mode` of the database to parse table structures.
# sql-mode = ""

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

### Run sync-diff-inspector
Expand Down
4 changes: 4 additions & 0 deletions v3.1/reference/tools/sync-diff-inspector/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,8 @@ fix-sql-file = "fix.sql"
# Uses the snapshot function of TiDB.
# If enabled, the history data is used for comparison.
# snapshot = "2016-10-08 16:45:26"
# Sets the `sql-mode` of the database to parse table structures.
# sql-mode = ""

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

### Run sync-diff-inspector
Expand Down

0 comments on commit 7475d23

Please sign in to comment.