Skip to content

Commit

Permalink
Merge pull request #2235 from actiontech/issue-2227
Browse files Browse the repository at this point in the history
update MySQL parser
  • Loading branch information
sjjian authored Jan 26, 2024
2 parents 5da439b + a2b1443 commit 1ba5545
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 13 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,6 @@ replace (
cloud.google.com/go/compute/metadata => cloud.google.com/go/compute/metadata v0.1.0
github.com/labstack/echo/v4 => github.com/labstack/echo/v4 v4.6.1
github.com/pingcap/log => github.com/pingcap/log v0.0.0-20191012051959-b742a5d432e9
github.com/pingcap/parser => github.com/sjjian/parser v0.0.0-20240119100847-3235e2338d0e
github.com/pingcap/parser => github.com/sjjian/parser v0.0.0-20240126074205-9d5d5dbe3c88
google.golang.org/grpc => google.golang.org/grpc v1.29.0
)
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -839,8 +839,8 @@ github.com/sirupsen/logrus v1.6.0/go.mod h1:7uNnSEd1DgxDLC74fIahvMZmmYsHGZGEOFrf
github.com/sirupsen/logrus v1.7.0/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0=
github.com/sirupsen/logrus v1.9.0 h1:trlNQbNUG3OdDrDil03MCb1H2o9nJ1x4/5LYw7byDE0=
github.com/sirupsen/logrus v1.9.0/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ=
github.com/sjjian/parser v0.0.0-20240119100847-3235e2338d0e h1:f17wdoGuuBUt0U/YCidu9NIzZeLkkhooIBpODzIKuGs=
github.com/sjjian/parser v0.0.0-20240119100847-3235e2338d0e/go.mod h1:Qq2tnreUXwVo7NAKAHmbWFsgqpDUkxwhJCClY+ZCudA=
github.com/sjjian/parser v0.0.0-20240126074205-9d5d5dbe3c88 h1:ezs0SOvT/fo5qGnLCir2ffIHRkjdAY/zXi4luuylEdM=
github.com/sjjian/parser v0.0.0-20240126074205-9d5d5dbe3c88/go.mod h1:Qq2tnreUXwVo7NAKAHmbWFsgqpDUkxwhJCClY+ZCudA=
github.com/skeema/knownhosts v1.2.0 h1:h9r9cf0+u7wSE+M183ZtMGgOJKiL96brpaz5ekfJCpM=
github.com/skeema/knownhosts v1.2.0/go.mod h1:g4fPeYpque7P0xefxtGzV81ihjC8sX2IqpAoNkjxbMo=
github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d/go.mod h1:OnSkiWE9lh6wB0YB77sQom3nweQdgAjqCqsofrRNTgc=
Expand Down
6 changes: 3 additions & 3 deletions vendor/github.com/pingcap/parser/lexer.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 14 additions & 5 deletions vendor/github.com/pingcap/parser/perfect_parser.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions vendor/github.com/pingcap/parser/yy_parser.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions vendor/modules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,7 @@ github.com/pingcap/errors
# github.com/pingcap/log v0.0.0-20210317133921-96f4fcab92a4 => github.com/pingcap/log v0.0.0-20191012051959-b742a5d432e9
## explicit; go 1.13
github.com/pingcap/log
# github.com/pingcap/parser v3.0.12+incompatible => github.com/sjjian/parser v0.0.0-20240119100847-3235e2338d0e
# github.com/pingcap/parser v3.0.12+incompatible => github.com/sjjian/parser v0.0.0-20240126074205-9d5d5dbe3c88
## explicit; go 1.13
github.com/pingcap/parser
github.com/pingcap/parser/ast
Expand Down Expand Up @@ -920,5 +920,5 @@ vitess.io/vitess/go/vt/vtgate/evalengine
# cloud.google.com/go/compute/metadata => cloud.google.com/go/compute/metadata v0.1.0
# github.com/labstack/echo/v4 => github.com/labstack/echo/v4 v4.6.1
# github.com/pingcap/log => github.com/pingcap/log v0.0.0-20191012051959-b742a5d432e9
# github.com/pingcap/parser => github.com/sjjian/parser v0.0.0-20240119100847-3235e2338d0e
# github.com/pingcap/parser => github.com/sjjian/parser v0.0.0-20240126074205-9d5d5dbe3c88
# google.golang.org/grpc => google.golang.org/grpc v1.29.0

0 comments on commit 1ba5545

Please sign in to comment.