Skip to content

Commit 274be7d

Browse files
author
ffffwh
committed
skip alter view ATK-2548
1 parent d9a3825 commit 274be7d

File tree

7 files changed

+6768
-6716
lines changed

7 files changed

+6768
-6716
lines changed

drivers/mysql/mysql/binlog/binlog_reader.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1025,6 +1025,8 @@ func (b *BinlogReader) resolveQuery(currentSchema string, sql string,
10251025
setTable(v.Table, false)
10261026
case *ast.CreateViewStmt:
10271027
result.isSkip = true
1028+
case *ast.AlterViewStmt:
1029+
result.isSkip = true
10281030
case *ast.AlterTableStmt:
10291031
setTable(v.Table, false)
10301032
case *ast.RevokeStmt, *ast.RevokeRoleStmt:

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@ replace github.com/araddon/qlbridge => github.com/ffffwh/qlbridge v0.0.0-2022011
5252

5353
replace github.com/pingcap/dm => github.com/actiontech/dm v0.0.0-20211206092524-9e640f6da0ac
5454

55-
replace github.com/pingcap/tidb => github.com/actiontech/tidb v0.0.0-20220331132049-ed7e102c6c5f
55+
replace github.com/pingcap/tidb => github.com/actiontech/tidb v0.0.0-20220408105833-d696979cd433
5656

57-
replace github.com/pingcap/tidb/parser => github.com/actiontech/tidb/parser v0.0.0-20220331132049-ed7e102c6c5f
57+
replace github.com/pingcap/tidb/parser => github.com/actiontech/tidb/parser v0.0.0-20220408105833-d696979cd433
5858

5959
// fix tencentcloud-sdk-go version. Try remove this line after updating nomad.
6060
replace github.com/hashicorp/go-discover => github.com/hashicorp/go-discover v0.0.0-20211203145537-8b3ddf4349a8

go.sum

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,12 +140,16 @@ github.com/actiontech/tidb v0.0.0-20220221092239-137743364bb1 h1:UoFUIJAbP70cQ/G
140140
github.com/actiontech/tidb v0.0.0-20220221092239-137743364bb1/go.mod h1:Ol8fbcrb8unIuqAYPJCSNi6uWsjcAGo6useI9SXL67E=
141141
github.com/actiontech/tidb v0.0.0-20220331132049-ed7e102c6c5f h1:QbINON8ovIiVXcDVSqTvjh70OFkYSaemN2JBNclALfc=
142142
github.com/actiontech/tidb v0.0.0-20220331132049-ed7e102c6c5f/go.mod h1:Ol8fbcrb8unIuqAYPJCSNi6uWsjcAGo6useI9SXL67E=
143+
github.com/actiontech/tidb v0.0.0-20220408105833-d696979cd433 h1:BvOMIkj93ejx2wZxWr9DcE+KKgYG1RvEu2YfVnVmF4E=
144+
github.com/actiontech/tidb v0.0.0-20220408105833-d696979cd433/go.mod h1:Ol8fbcrb8unIuqAYPJCSNi6uWsjcAGo6useI9SXL67E=
143145
github.com/actiontech/tidb/parser v0.0.0-20211201045102-50ddce98336f h1:IBUyYmxaiCcStt+0jTfAM8N2wmzpqOscZfnXbkH3u70=
144146
github.com/actiontech/tidb/parser v0.0.0-20211201045102-50ddce98336f/go.mod h1:MAa22tagoj7nv5b1NBcxPkc5CiUNhqj1wuSQnw4f9WE=
145147
github.com/actiontech/tidb/parser v0.0.0-20220221092239-137743364bb1 h1:AfpzOeCjQ88x84ujpaWTJpnk+1T0/gUse1nHJ+lCP3M=
146148
github.com/actiontech/tidb/parser v0.0.0-20220221092239-137743364bb1/go.mod h1:MAa22tagoj7nv5b1NBcxPkc5CiUNhqj1wuSQnw4f9WE=
147149
github.com/actiontech/tidb/parser v0.0.0-20220331132049-ed7e102c6c5f h1:uv9Rch2fM8u8TeWeAMVUVoZ9sCKJbjTTwkTUlioCW6o=
148150
github.com/actiontech/tidb/parser v0.0.0-20220331132049-ed7e102c6c5f/go.mod h1:MAa22tagoj7nv5b1NBcxPkc5CiUNhqj1wuSQnw4f9WE=
151+
github.com/actiontech/tidb/parser v0.0.0-20220408105833-d696979cd433 h1:eeJLINGLJfdaTyHj672YO0ckeZkVyP+NyaFvrUY0qnE=
152+
github.com/actiontech/tidb/parser v0.0.0-20220408105833-d696979cd433/go.mod h1:MAa22tagoj7nv5b1NBcxPkc5CiUNhqj1wuSQnw4f9WE=
149153
github.com/agext/levenshtein v1.2.1/go.mod h1:JEDfjyjHDjOF/1e4FlBE/PkbqA9OfWu2ki2W0IB5558=
150154
github.com/ajg/form v1.5.1/go.mod h1:uL1WgH+h2mgNtvBq0339dVnzXdBETtL2LeUXaIv25UY=
151155
github.com/ajstarks/svgo v0.0.0-20180226025133-644b8db467af/go.mod h1:K08gAheRH3/J6wwsYMMT4xOr94bZjxIelGM0+d/wbFw=

vendor/github.com/pingcap/tidb/parser/ast/ddl.go

Lines changed: 17 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)